mongodb - Kafka sink connector: No tasks assigned, even after restart -


i using confluent 3.2 in set of docker containers, 1 of running kafka-connect worker.

for reasons yet unclear me, 2 of 4 connectors - specific, hpgraphsl's mongodb sink connector - stopped working. able identify main problem: connectors did not have tasks assigned, seen calling get /connectors/{my_connector}/status. other 2 connectors (of same type) not affected , happily producing output.

i tried 3 different methods connectors running again via rest api:

  • pausing , resuming connectors
  • restarting connectors
  • deleting , creating connector under same name, using same config

none of methods worked. got connectors working again by:

  • deleting , creating connector under different name, my_connector_v2 instead of my_connector

what going on here? why not able restart existing connector , start actual task? there stale data on kafka-connect worker or in kafka-connect-related topic on kafka brokers needs cleaned?

i have filed issue on specific connector's github repo, feel might general bug related intrinsics of kafka-connect. ideas?

i have faced issue. if resources less sinktask or sourcetask start, can happen.

memory allocated worker may less time. default workers allocated 250mb. please increase this. below example allocate 2gb memory worker running in distributed mode.

kafka_heap_opts="-xmx2g" sh $kafka_service_home/connect-distributed $kafka_config_home/connect-avro-distributed.properties


Comments

Popular posts from this blog

commonjs - How to write a typescript definition file for a node module that exports a function? -

openid - Okta: Failed to get authorization code through API call -

thorough guide for profiling racket code -