# S3 Source Connector

**URL:** <https://forum.confluent.io/t/s3-source-connector/8049>\
**Category:** Managed Connectors\
**Created:** [7 June 2023 13:58 UTC](https://forum.confluent.io/t/s3-source-connector/8049 "2023-06-07T13:58:30Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![georgelza](https://sea1.discourse-cdn.com/flex019/user_avatar/forum.confluent.io/georgelza/32/3026_2.png) [@georgelza](https://forum.confluent.io/u/georgelza)\
**Post date:** [7 June 2023 13:58 UTC](https://forum.confluent.io/t/s3-source-connector/8049/1 "2023-06-07T13:58:30Z")

</div>

Hi all,

Need some advise/information

I have 3 outbound data streams (JSON docs) being written to a AWS S3 bucket.  
(Don’t know yet if it will all go into one directory or 3 directories)…

but if into 1 bucket/directory… Can I use 1 source connector to ingest the 3 directories and then place the JSON contents onto 3 topics,  
or  
will it only go onto 1 topic.

other words can a source connector do some conditional filter/routing ?

if it all goes into 1 directory, can consume that one source and then route it onto 3 topics, using one configured source connector ?

G

---

<div class="post-metadata">

**Author:** ![OneCricketeer](https://sea1.discourse-cdn.com/flex019/user_avatar/forum.confluent.io/onecricketeer/32/1551_2.png) [@OneCricketeer](https://forum.confluent.io/u/OneCricketeer)\
**Post date:** [23 June 2023 03:40 UTC](https://forum.confluent.io/t/s3-source-connector/8049/2 "2023-06-23T03:40:57Z")

</div>

S3 Buckets only have prefixes, rather than directories. Common mistake, but important qualifier.

Source connectors write to one topic, by default, but you can use SMT to conditionally modify the destination topic

---

<div class="post-metadata">

**Author:** ![georgelza](https://sea1.discourse-cdn.com/flex019/user_avatar/forum.confluent.io/georgelza/32/3026_2.png) [@georgelza](https://forum.confluent.io/u/georgelza)\
**Post date:** [23 June 2023 08:45 UTC](https://forum.confluent.io/t/s3-source-connector/8049/3 "2023-06-23T08:45:07Z")

</div>

heheh call it a prefix, but when ever any one sees a structure that’s /name/anothername/andantheone/filename.x they will see those names as a directory structure, used to “contain” a set of related files.

😉

G
