EFAK
EFAK copied to clipboard
After using mock to send message , consumer paused with exception .
Exception in thread "main" org.apache.kafka.common.errors.SerializationException: Error deserializing key/value for partition topic_1-0 at offset 23143. If needed, please seek past the record to continue consumption.
Caused by: org.apache.kafka.common.errors.SerializationException: Size of data received by IntegerDeserializer is not 4
mock use StringSerializer as KEY_SERIALIZER, but i usually use IntegerSerializer as KEY_SERIALIZER