milvus-io / birdwatcher

Apache License 2.0
43 stars 32 forks source link

enhance: Add `consume` cmd to read data from provided topic #252

Closed congqixia closed 5 months ago

congqixia commented 5 months ago

Add consume command. It subscribe top provided topic and consume until the latestID. If detail flag is false, this command prints only the message type. Otherwise, the Insert/Delete msg body will be printed.

sre-ci-robot commented 5 months ago

[APPROVALNOTIFIER] This PR is APPROVED

This pull-request has been approved by: congqixia

The full list of commands accepted by this bot can be found here.

The pull request process is described here

Needs approval from an approver in each of these files: - ~~[OWNERS](https://github.com/milvus-io/birdwatcher/blob/v1.0.x/OWNERS)~~ [congqixia] Approvers can indicate their approval by writing `/approve` in a comment Approvers can cancel approval by writing `/approve cancel` in a comment
tedxu commented 5 months ago

/lgtm

sre-ci-robot commented 5 months ago

@tedxu: changing LGTM is restricted to collaborators

In response to [this](https://github.com/milvus-io/birdwatcher/pull/252#issuecomment-2074159823): >/lgtm Instructions for interacting with me using PR comments are available [here](https://git.k8s.io/community/contributors/guide/pull-requests.md). If you have questions or suggestions related to my behavior, please file an issue against the [kubernetes/test-infra](https://github.com/kubernetes/test-infra/issues/new?title=Prow%20issue:) repository.
weiliu1031 commented 5 months ago

/lgtm