I am new to Apache Kafka. I have a server [10.33.41.20] in which I recieve log file [in /tmp/LsCrak.log] which gets updated every second. I have installed Kafka 2.4.0 in another vm, server2 [10.33.41.22] . I am supposed to use the kafka console producer as shown below. But How can I get the remote file so that I do not lose any data ?
kafka-console-producer.sh --broker-list kftest1:9092,kftest2:9092,kftest3:9092 --topic kafka-LsCrak-topic &