--- /dev/null
+docker/confluentinc-kafka-connect-s3-*
docker compose -f docker/docker-compose.yml exec minio mc mb /data/juplo
echo
-echo "Hilfe-Ausgabe von kafkacat"
+echo "Validität der Konfiguration des S3-Sink-Connector prüfen"
echo
-docker compose -f docker/docker-compose.yml exec -T cli kafkacat -h
-echo
-echo "Nachrichten schreiben mit kafkacat"
-echo
-docker compose -f docker/docker-compose.yml exec -T cli kafkacat -P -b kafka:9092 -t test << EOF
-Hallo Welt!
-Nachricht #1
-Nachricht #2
-Nachricht #3
-EOF
-echo
-echo "Nachrichten lesen mit kafkacat"
-echo
-docker compose -f docker/docker-compose.yml exec cli kafkacat -C -b kafka:9092 -t test -o beginning -e
+cat s3-sink-connector.json | jq .config | http -v put :8083/connector-plugins/io.confluent.connect.s3.S3SinkConnector/config/validate
--- /dev/null
+confluentinc-kafka-connect-s3-10.5.11/
\ No newline at end of file
CONNECT_OFFSET_STORAGE_REPLICATION_FACTOR: 1
CONNECT_CONFIG_STORAGE_REPLICATION_FACTOR: 1
CONNECT_STATUS_STORAGE_REPLICATION_FACTOR: 1
- CONNECT_PLUGIN_PATH: /usr/share/java/
+ CONNECT_PLUGIN_PATH: /usr/share/java/plugins/
ports:
- 8083:8083
+ volumes:
+ - ./confluentinc-kafka-connect-s3:/usr/share/java/plugins/confluentinc-kafka-connect-s3:ro
depends_on:
- schema-registry
command: sleep infinity
stop_grace_period: 0s
depends_on:
- - kafka-1
- - kafka-2
- - kafka-3
+ - connect
setup:
image: juplo/toolbox
--- /dev/null
+{
+ "name": "s3-sink",
+ "config": {
+ "name": "s3-sink",
+ "connector.class": "io.confluent.connect.s3.S3SinkConnector",
+ "topics": "s3_topic",
+ "s3.region": "us-west-2",
+ "s3.bucket.name": "confluent-kafka-connect-s3-testing",
+ "s3.part.size": "5242880",
+ "flush.size": "3",
+ "storage.class": "io.confluent.connect.s3.storage.S3Storage",
+ "format.class": "io.confluent.connect.s3.format.avro.AvroFormat",
+ "schema.generator.class": "io.confluent.connect.storage.hive.schema.DefaultSchemaGenerator",
+ "partitioner.class": "io.confluent.connect.storage.partitioner.DefaultPartitioner",
+ "schema.compatibility": "NONE"
+ }
+}