Closed Kaitsu4 closed 1 year ago
docker run --tty --network bin_default confluentinc/cp-kafkacat kafkacat -b kafka:9092 \\n-C -s key=s -s value=avro -r http://schema-registry:8081 -t postgres.public.student
I'm getting the following issue when I'm running this code on windows.
% Auto-selecting Consumer mode (use -P or -C to override) Error: file/topic list only allowed in producer(-P)/kafkaconsumer(-G) mode
docker run --tty --network bin_default confluentinc/cp-kafkacat kafkacat -b kafka:9092 -C -s key=s -s value=avro -r http://schema-registry:8081 -t postgres.public.student
This command worked for me on windows.
docker run --tty --network bin_default confluentinc/cp-kafkacat kafkacat -b kafka:9092 \\n-C -s key=s -s value=avro -r http://schema-registry:8081 -t postgres.public.student
I'm getting the following issue when I'm running this code on windows.
% Auto-selecting Consumer mode (use -P or -C to override) Error: file/topic list only allowed in producer(-P)/kafkaconsumer(-G) mode