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.

[Feature] Add TubeMQ Command Tools

See original GitHub issue

Description

like tubectl, we can create/delete topic, produce/consume message.

Use case

No response

Are you willing to submit PR?

  • Yes, I am willing to submit a PR!

Code of Conduct

Issue Analytics

  • State:open
  • Created a year ago
  • Comments:5 (1 by maintainers)

github_iconTop GitHub Comments

1reaction
DavidYoungdjcommented, Aug 1, 2022

Purpose

Add TubeMQ command tools like the kafka command tools.We can create/delete the topics,produce/consume the message.

Plan

About creating / deleting a topic

  1. Set parameters to add / remove topics based on the type of parameter passed in.
  2. Call the client’s code to create the admin of the client
  3. Check whether the partitions are correct and handle other exceptions. For example, the partitions must be greater than 0
  4. Make the network request and have the server of the Controller role accept the request processing logic
  5. Perform calibration check
  6. The data is stored in the master node

Generating / consume information

  • Producer
  1. Set necessary parameters, such as obtaining server metadata, conditions for successfully writing data, and retry times
  2. Create TubeMQproducer
  3. Determine the topic, key, and message body to send
  4. Send the message
  • Consumer
  1. If the topic is empty, the exception is handled. Otherwise, the subscription status is reset and the subscription information and metadata are updated
  2. Ensuring thread Safety
  3. It can communicate with Cluster, register Consumer with Coordinator, and pull and update metadata
  4. Sends all requests to be sent and processes all received responses
0reactions
github-actions[bot]commented, Nov 19, 2022

This issue is stale because it has been open for 60 days with no activity.

Read more comments on GitHub >

github_iconTop Results From Across the Web

I strongly suggest some command-line tools like kafka ...
As we mainly develop on linux envirment , it is crucial to use command-line tools to read and write TubeMQ just like kafka...
Read more >
InLong v1.2.0
INLONG-4359, [Improve][Agent] Simplify agent process commands ... INLONG-4577, [Feature][Dashboard] Support TubeMQ cluster management.
Read more >
dev - The Mail Archive
2022/07/18 [GitHub] [inlong] EMsnap closed issue #5072: [Feature][Sort] Add metric ... opened a new issue, #4972: [Feature] Add TubeMQ Command Tools GitBox ...
Read more >
3rd party command line tools for Apache Kafka
I'd like to add Kafka-Utils. Features are listed in the toc of their docs. I once used this for renaming consumer groups which...
Read more >
#cmake - Twitter Search / Twitter
Knowing how to use this family of tools will allow you to build, test, ... [Feature][Metrics][TubeMQ] Add grafana dashboard json template ...
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