question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

[QUESTION] JSON support

See original GitHub issue

Hi, guys, one quick question: How do I write application that produces message to some kafka topic, and at the same time listens at the same topic (using @StreamListener), with messages being serialized as JSON, something like:

… Producer part

...
source.send(MessageBuilder.withPayload(new MySamplePojo()).build());

… Consumer part

@StreamListener(Sink.INPUT)
public void processMySamplePojo(MySamplePojo pojo) {
...

Thanks so much for all the effort!

Issue Analytics

  • State:closed
  • Created 6 years ago
  • Comments:9 (5 by maintainers)

github_iconTop GitHub Comments

1reaction
olegzcommented, Feb 20, 2018

Also, as a good practice, these type of questions are better be asked in Stack Overflow (https://stackoverflow.com/questions/tagged/spring-cloud-stream)

0reactions
dodaloviccommented, Feb 21, 2018

@olegz Thanks for the lecture about architecture. @sobychacko Thanks for the link actually, nice to know for the tag 😉

Read more comments on GitHub >

github_iconTop Results From Across the Web

Top 19 JSON Interview Questions and Answers (2022)
Top 19 JSON Interview Questions and Answers (2022) · 1) Mention what is JSON? · 2) Explain what is JSON objects? · 3)...
Read more >
Top 30 JSON Interview Questions & Answers (2022 Update)
Top JSON Interview Questions and Answers ➔ Real-time Case Study Questions ✔️Frequently Asked ✔️Curated by Experts ✔️Freshers & Experienced.
Read more >
16 JSON Interview Questions You Must Be Prepared For
16 JSON Interview Questions You Must Be Prepared For · Q1: What is JSON and why would I use it? · Q2: How...
Read more >
Top JSON Interview Questions and Answers
This JSON Interview Questions tutorial includes a list of all the ... Q #3) Do all the programming languages and platforms support JSON?...
Read more >
JSON Interview Questions in 2022
1) What is JSON? · 2) How to convert Javascript objects into JSON? · 3) List types Natively supported by JSON? · 4)...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found