How Does Kafka Implement the Consumption of a Specified Key?

Created: Sep 20, 2019 14:08:07Latest reply: Sep 21, 2019 03:29:38 74 2 0 0
  Rewarded Hi-coins: 0 (problem resolved)

Hello, team


Can anyone tell me how do I set the value of a specified key for Kafka?


No matter the command or python, plz


Thank you very much, waiting for you !

  • x
  • convention:

Featured Answers
stephen.xu
Admin Created Sep 20, 2019 14:17:36 Helpful(0) Helpful(0)

The command is that:
./bin/kafka-simple-consumer-shell.sh --broler-list localhost:9092 --topic test --partition 0 --offset 1234 --max-messages 10
  • x
  • convention:

All Answers
stephen.xu
stephen.xu Admin Created Sep 20, 2019 14:17:36 Helpful(0) Helpful(0)

The command is that:
./bin/kafka-simple-consumer-shell.sh --broler-list localhost:9092 --topic test --partition 0 --offset 1234 --max-messages 10
  • x
  • convention:

Werido
Werido Created Sep 21, 2019 03:29:38 Helpful(0) Helpful(0)

Posted by stephen.xu at 2019-09-20 14:17 The command is that: ./bin/kafka-simple-consumer-shell.sh --broler-list localhost:9092 --topic test ...
Thank you
  • x
  • convention:

Reply

Reply
You need to log in to reply to the post Login | Register

Notice Notice: To protect the legitimate rights and interests of you, the community, and third parties, do not release content that may bring legal risks to all parties, including but are not limited to the following:
  • Politically sensitive content
  • Content concerning pornography, gambling, and drug abuse
  • Content that may disclose or infringe upon others ' commercial secrets, intellectual properties, including trade marks, copyrights, and patents, and personal privacy
Do not share your account and password with others. All operations performed using your account will be regarded as your own actions and all consequences arising therefrom will be borne by you. For details, see " Privacy."
If the attachment button is not available, update the Adobe Flash Player to the latest version!
Login and enjoy all the member benefits

Login and enjoy all the member benefits

Login