echo "Lese probeweise 5 Nachrichten aus den erzeugten Daten ein"
echo
docker compose -f docker/docker-compose.yml exec cli \
- kafka-avro-console-consumer \
+ kafka-console-consumer \
--bootstrap-server kafka:9092 \
--topic test \
--property schema.registry.url=http://schema-registry:8085 \
"name": "datagen-source",
"connector.class": "io.confluent.kafka.connect.datagen.DatagenConnector",
"kafka.topic": "test",
+ "value.converter": "io.confluent.connect.json.JsonSchemaConverter",
+ "value.converter.schemas.enable": "true",
+ "value.converter.schema.registry.url": "http://schema-registry:8085",
"schema.string": "{\"type\":\"record\",\"name\":\"myrecord\",\"fields\":[{\"name\":\"f1\",\"type\":\"string\"}]}"
}
}
"name": "s3-sink",
"connector.class": "io.confluent.connect.s3.S3SinkConnector",
"topics": "test",
+ "value.converter": "io.confluent.connect.json.JsonSchemaConverter",
+ "value.converter.schemas.enable": "true",
+ "value.converter.schema.registry.url": "http://schema-registry:8085",
"s3.bucket.name": "juplo",
"s3.part.size": "5242880",
"timezone": "Europe/Berlin",