appsody / stacks

Appsody application stacks. This repo will be archived soon.
https://appsody.dev
Apache License 2.0
89 stars 121 forks source link

nodejs-express kafka consumer returns empty object #848

Closed josiemundi closed 4 years ago

josiemundi commented 4 years ago

Describe the bug The nodejs-express kafka starter app returns an empty object when trying to consume a message from the topic.

To Reproduce Steps to reproduce the behavior:

Expected behavior When I produce a message to the my-topic topic I am expecting to see that message when I consume from that topic.

Actual behaviour Consuming returns an empty object

Environment Details (please complete the following information):

If applicable please specify:

Screenshots

emptyobject

Additional context Add any other context about the problem here.

neeraj-laad commented 4 years ago

@ianpartridge @djones6 Would you be able to take a look at this one?

josiemundi commented 4 years ago

@neeraj-laad I spoke with @ianpartridge and confirm we will try to have a look. Just raising so it can be tracked.

josiemundi commented 4 years ago

@neeraj-laad I have solved this. It is because it is expecting a json object. I will add some extra information to the readme so that it is clear.

neeraj-laad commented 4 years ago

@josiemundi Thanks! Let's use this issue to track that README change.