kafka connect - jdbc sink sql exception

后端 未结 2 1442
半阙折子戏
半阙折子戏 2021-01-21 08:27

I am using the confluent community edition for a simple setup consisting a rest client calling the Kafka rest proxy and then pushing that data into an oracle database using the

2条回答
  •  小鲜肉
    小鲜肉 (楼主)
    2021-01-21 08:38

    The sink cannot currently ignore bad records, but you can manually skip them, using the kafka-consumer-groups tool:

    kafka-consumer-groups \
        --bootstrap-server kafka:29092 \
        --group connect-sink_postgres_foo_00 \
        --reset-offsets \
        --topic foo \
        --to-offset 2 \
        --execute
    

    For more info see here.

提交回复
热议问题