title: Kafka Connect S3 sink - how to utilize no partitioning in s3-sink.properties
body: <p>For legitimate reasons I am looking to dump all Kafka messages into a AWS S3 bucket without partitioning. I have a requirement to use JSON. </p>
  
  <p>My initial thought was to use the <a href="https://docs.confluent.io/3.2.0/connect/connect-storage-cloud/kafka-connect-s3/docs/configuration_options.html" rel="nofollow noreferrer">FieldPartitioner</a> and designate a key/value that is consistent across all topic messages. This would result in all messages ending in the same partition. However, since FieldPartitioner only works with Avro and not JSON, this is not possible.</p>
  
  <p>My current s3-sink.properties replicates Kafka's partitioning stucture:</p>
  
  <pre><code>name=s3-sink
  connector.class=io.confluent.connect.s3.S3SinkConnector
  tasks.max=50
  topics=topic_a,topic_b,topic_c
  s3.region=us-east-2
  s3.bucket.name=datapipeline
  s3.part.size=5242880
  flush.size=1
  storage.class=io.confluent.connect.s3.storage.S3Storage
  format.class=io.confluent.connect.s3.format.json.JsonFormat
  schema.generator.class=io.confluent.connect.storage.hive.schema.DefaultSchemaGenerator
  partitioner.class=io.confluent.connect.storage.partitioner.DefaultPartitioner
  schema.compatibility=NONE
  </code></pre>