Search Interview Questions | Click here and help us by providing the answer. Click Correct / Improve and please let us know. |
|
|||
|
| ||||
| BigData - Interview Questions and Answers for 'Message queue' - 5 question(s) found - Order By Newest | ||||
| ||||
| Ans. Kafka is a distributed, partitioned, replicated commit log service. It provides the functionality of a messaging system through messages being written to logs. | ||||
| Ans. Kafka is run as a cluster comprised of one or more servers each of which is called a broker | ||||
| Ans. A topic is a category or feed name to which messages are published | ||||
| Ans. We were using Kafka as a replacement for JMS Message Queue for better throughput. We were just using a simple Java multi threaded client as order of message consumption didn't matter to us. | ||||
| ||||
| Ans. Message queues implement an asynchronous communication pattern between two or more processes/threads whereby the sending and receiving party do not need to interact with the message queue at the same time. Messages placed onto the queue are stored until the recipient retrieves them. Message queues have implicit or explicit limits on the size of data that may be transmitted in a single message and the number of messages that may remain outstanding on the queue. | ||||