irtiza07 / postgres_debezium_cdc

40 stars 35 forks source link

Kafkacat command issue #1

Closed Kaitsu4 closed 1 year ago

Kaitsu4 commented 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

Kaitsu4 commented 1 year ago

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.