Re: How to write data from kafka to CSV file on a Mac

2020-02-26 Thread Richard Rossel
By default the output goes to standard output, but you can redirect that to a file: kafkacat -b your.broker.com:yourPORT -t yourtopic -c max-messages > /your/full/path/file.csv On Wed, Feb 26, 2020 at 4:45 AM Doaa K. Amin wrote: > > Hi Richard, > Thanks for answering. Just one more thing: do I a

Re: How to write data from kafka to CSV file on a Mac

2020-02-26 Thread Doaa K. Amin
Hi Richard, Thanks for answering. Just one more thing: do I add to the command that you've written the path and name of the CSV file that I want to write the data to? Please, advise. Thanks,Doaa. Sent from Yahoo Mail on Android On Tue, Feb 25, 2020 at 6:20 PM, Richard Rossel wrote: you c

Re: How to write data from kafka to CSV file on a Mac

2020-02-25 Thread Richard Rossel
you can use kafka-console-consumer that comes with your kafka deployment, or you can install kafkacat (which I found more simple to use) brew install kafkacat kafkacat -b your.broker.com:yourPORT -t yourtopic -c max-messages On Tue, Feb 25, 2020 at 9:03 AM Doaa K. Amin wrote: > > Hello, > I'm

How to write data from kafka to CSV file on a Mac

2020-02-25 Thread Doaa K. Amin
Hello, I'm new to kafka and I'd like to write data from kafka to a CSV file in a Mac. Please, advise. Thank You & Kindest Regards,Doaa.