Отправить файл json в тему Kafka
bin/kafka-console-producer.sh --broker-list localhost:9092 --topic user-timeline < samplerecords.json
Gifted Goosander
bin/kafka-console-producer.sh --broker-list localhost:9092 --topic user-timeline < samplerecords.json