El vie., 1 feb. 2019 a las 15:37, Jigar Rathod (<[email protected]>) escribió: > > Hello, > > > > I want to stream the content of a file on kafka. I have setup following > architecture: > > File -> imfile -> omkafka -> kafka. > > > > My configuration looks like following: > > global (workDirectory="$CUSTOMLOCATION") > > module (load="imfile") > > module (load="omkafka") > > input (type="imfile" File="$PATH_TO_FILE" Tag="" PersistStateInterval="10") > > action(type="omkafka" topic="mytopic" broker="$KAFKA_BROKER" > errorFile="$CUSOMLOCATION/error_file" statsFile="$CUSTOMLOCATION/stat_file" > resubmitOnFailure="on" failedMsgFile="$CUSTOMLOCATION/failed_msg" > keepFailedMessages="on" TopicConfParam="request.required.acks=all") > confParam=["socket.timeout.ms=10", > "socket.keepalive.enable=true","max.in.flight=1"])
Is that the verbatim config or have you replaced the actual pathes? Rainer _______________________________________________ rsyslog mailing list http://lists.adiscon.net/mailman/listinfo/rsyslog http://www.rsyslog.com/professional-services/ What's up with rsyslog? Follow https://twitter.com/rgerhards NOTE WELL: This is a PUBLIC mailing list, posts are ARCHIVED by a myriad of sites beyond our control. PLEASE UNSUBSCRIBE and DO NOT POST if you DON'T LIKE THAT.

