Closed pxchek closed 2 years ago
kafkaProps.put("key.serializer", "com.example.serializers.AlertSerializer");
The correct serializer was not configured as the Key on both producer and consumer end. It was looking for String serializer, updating to the above AlertSerializer resolved the issue.