0

I created a Topic 'sample' in apache kafka and run the producer, published messages into it. I run consumer in other terminal able to see the published messages. now I want to display messgaes in Grid using Angularjs. Is there way to consume messages and display as table ?

2 Answers 2

2

AngularJS is a client side technology, whereas Kafka is a server side.

One way you can achieve this is by creating a kafka consumer, with which will send result to websockets. And this socket is consumed by angular.

Sign up to request clarification or add additional context in comments.

1 Comment

can you please give example how to do that
0

According to the Kafka clients page there's a node.js client. I haven't used it myself, but the project's github repo seems to be active.

Comments

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.