Debezium报错处理系列之第105篇:WARN Database schema history topic 'history-debezium-prod-optics_prod_realtime_prod_rt' option 'retention.bytes' should be '-1' but is '1073741824'
Debezium从入门到精通系列之:研究Debezium技术遇到的各种错误解决方法汇总:
更多Debezium技术请参考博主Debezium技术专栏:
一、完整报错
- [2024-06-24 16:52:47,478] WARN Database schema history topic ‘history-debezium-prod-optics_prod_realtime_prod_rt’ option ‘retention.bytes’ should be ‘-1’ but is ‘1073741824’ (io.debezium.storage.kafka.history.KafkaSchemaHistory)
二、错误原因
- history topic中的数据要永久报错,其实已经设置了retention.ms=-1,但是还提示要设置retention.bytes = -1