Note:
This topic has been translated from a Chinese forum by GPT and might contain errors.Original topic: TiCDC 同步kafka panic

[TiDB Usage Environment] Production Environment / Testing / Poc
[TiDB Version] TiDB v6.5.1
[Reproduction Path] What operations were performed to encounter the issue
[Encountered Issue: Problem Phenomenon and Impact]
[Resource Configuration]
[Attachment: Screenshot/Log/Monitoring]
{"log":"panic: runtime error: invalid memory address or nil pointer dereference\n","stream":"stderr","time":"2023-06-07T13:15:53.849702539Z"}
{"log":"[signal SIGSEGV: segmentation violation code=0x1 addr=0x10 pc=0x11f6209]\n","stream":"stderr","time":"2023-06-07T13:15:53.849730489Z"}
{"log":"\n","stream":"stderr","time":"2023-06-07T13:15:53.849733129Z"}
{"log":"goroutine 15525152 [running]:\n","stream":"stderr","time":"2023-06-07T13:15:53.849735129Z"}
{"log":"github.com/Shopify/sarama.(*partitionProducer).newHighWatermark(0xc07fc0cde0, 0x3)\n","stream":"stderr","time":"2023-06-07T13:15:53.849737089Z"}
{"log":"\u0009github.com/Shopify/sarama@v1.36.0/async_producer.go:620 +0x1a9\n","stream":"stderr","time":"2023-06-07T13:15:53.849739079Z"}
{"log":"github.com/Shopify/sarama.(*partitionProducer).dispatch(0xc07fc0cde0)\n","stream":"stderr","time":"2023-06-07T13:15:53.849741299Z"}
{"log":"\u0009github.com/Shopify/sarama@v1.36.0/async_producer.go:564 +0x537\n","stream":"stderr","time":"2023-06-07T13:15:53.849743109Z"}
{"log":"github.com/Shopify/sarama.withRecover(0xc000e09f98?)\n","stream":"stderr","time":"2023-06-07T13:15:53.849744859Z"}
{"log":"\u0009github.com/Shopify/sarama@v1.36.0/utils.go:43 +0x3e\n","stream":"stderr","time":"2023-06-07T13:15:53.849746569Z"}
{"log":"created by github.com/Shopify/sarama.(*asyncProducer).newPartitionProducer\n","stream":"stderr","time":"2023-06-07T13:15:53.849748279Z"}
{"log":"\u0009github.com/Shopify/sarama@v1.36.0/async_producer.go:515 +0x1ea\n","stream":"stderr","time":"2023-06-07T13:15:53.849750049Z"}