Spring Kafka The class is not in the trusted packages

后端 未结 6 1174
北荒
北荒 2020-12-31 03:20

In my Spring Boot/Kafka application before the library update, I used the following class org.telegram.telegrambots.api.objects.Update in order to post messages

6条回答
  •  不思量自难忘°
    2020-12-31 04:01

    My version of spring-kafka is 2.2.11 and also I had this error.

    I got this error because I had configurated two consumers in the same kafta topic with diferent configuration. One of them had ConsumerFactory and other had ConsumerFactory.

    I solved the error changing the configuration of one Consumer because was wrong.

    Simply you check the consumers of the topic

提交回复
热议问题