ElasticSearch错误:为主题分区kafka问题获取数据时发生未知错误

时间:2019-06-07 11:26:31

标签: elasticsearch apache-kafka kafka-consumer-api kafka-producer-api

我的是一个springboot应用程序。我的弹性搜索代码中有kafka消费者。因此,在使用来自kafka的事件时,会出现错误:“为主题分区提取未知错误”。

我检查了spring-kafka(1.7.7)和弹性版本(5.6.3)。我尝试将spring-kafka版本增加到1.2.0。仍然面临着同样的问题。此错误是最近的。没有更改任何代码。它过去可以正常工作几个月。问题是,它接受很少的事件并引发以下错误。

错误日志:

[WARN ] 2019-06-07 16:26:22.396 [ticket-listener-0-L-1] com.services.ElasticSearchBatchService postBulkRequest 151 - No messages to write
to elastic search.
[DEBUG] 2019-06-07 16:26:22.432 [conversation-listener-0-L-1] com.services.ElasticSearchBatchService postBulkRequest 156 - Bulk request to
ok 91 ms.
[INFO ] 2019-06-07 16:26:40.673 [ticket-listener-0-L-1] com.listeners.TicketingEventKafkaListener ticketingEventListener 59 - Received eve
nts :1
[WARN ] 2019-06-07 16:26:40.674 [ticket-listener-0-C-1] org.apache.kafka.clients.consumer.internals.Fetcher parseFetchedData 723 - Unknown error fetching da
ta for topic-partition ticket_events_6221-4
[WARN ] 2019-06-07 16:26:40.675 [ticket-listener-0-C-1] org.apache.kafka.clients.consumer.internals.Fetcher parseFetchedData 723 - Unknown error fetching da
ta for topic-partition ticket_events_6221-0
[WARN ] 2019-06-07 16:26:40.676 [ticket-listener-0-C-1] org.apache.kafka.clients.consumer.internals.Fetcher parseFetchedData 723 - Unknown error fetching da
ta for topic-partition ticket_events_6221-3
[WARN ] 2019-06-07 16:26:40.676 [ticket-listener-0-C-1] org.apache.kafka.clients.consumer.internals.Fetcher parseFetchedData 723 - Unknown error fetching da
ta for topic-partition ticket_events_6221-1
[WARN ] 2019-06-07 16:26:40.677 [ticket-listener-0-C-1] org.apache.kafka.clients.consumer.internals.Fetcher parseFetchedData 723 - Unknown error fetching da
ta for topic-partition ticket_events_6221-2
[WARN ] 2019-06-07 16:26:40.677 [ticket-listener-0-C-1] org.apache.kafka.clients.consumer.internals.Fetcher parseFetchedData 723 - Unknown error fetching da
ta for topic-partition ticket_events_6221-5

0 个答案:

没有答案