Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Kafka Connect HDFS Sink Issue

I am trying to stream data using Kafka-Connect with HDFS Sink Connector. Both Standalone and Distributed modes are running fine but its writing into HDFS only once (based on flush-size) and not streaming later on. Please help if I'm missing some thing.

Confluent 2.0.0 & Kafka 0.9.0

like image 608
vijay kumar vijju Avatar asked Oct 22 '25 15:10

vijay kumar vijju


1 Answers

I faced this issue long back.Just check below parameter is missing

Connect-hdfs-sink properties

"logs.dir":"/hdfs_directory/data/log"

"request.timeout.ms":"310000"

"offset.flush.interval.ms":"5000"

"heartbeat.interval.ms":"60000"

"session.timeout.ms":"300000

"max.poll.records":"100"

like image 80
Gaurav Mishra Avatar answered Oct 25 '25 19:10

Gaurav Mishra



Donate For Us

If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!