-
Notifications
You must be signed in to change notification settings - Fork 33
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Provide an option to clear the consumer view #105
Conversation
864b86c
to
91753c4
Compare
8e14690
to
f7faed8
Compare
I have updated the documentation. |
733c034
to
7724101
Compare
docs/Consuming.md
Outdated
Consuming topics can be done by right clicking a topic in the explorer or from the command palette. Some things to note about consuming: | ||
Consuming topics can be done: | ||
|
||
* with [Kafka Explorer](#kafka-explorer) by right clicking a topic in the explorer. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
from the [Kafka Explorer](#kafka-explorer), by right-clicking on a topic and selecting "Start Consumer".
docs/Consuming.md
Outdated
Consuming topics can be done: | ||
|
||
* with [Kafka Explorer](#kafka-explorer) by right clicking a topic in the explorer. | ||
* with the [Start command](#start-command) from the command palette. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
from the [Start command](#start-command), from the command palette.
docs/Consuming.md
Outdated
|
||
### Kafka explorer | ||
|
||
You can start consumer with [Kafka Explorer](Explorer.md#explorer) by right clicking a topic in the explorer: |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
You can start consuming messages from the [Kafka Explorer](Explorer.md#explorer), by right-clicking on a topic:
docs/Consuming.md
Outdated
|
||
![Start Consumer with Explorer](assets/start-consumer-from-explorer.png) | ||
|
||
Once this command is executed, it creates a consumer group (with generated id) and opens the [Consumer View](#consumer-view) where you can see the producing messages: |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Once this command is launched, it creates a consumer group (with an auto-generated id), and opens the [Consumer View](#consumer-view) where you can see the messages being consumed:
docs/Consuming.md
Outdated
|
||
![Consumer group / Consumer View](assets/consumer-group-after-starting-from-explorer.png) | ||
|
||
In this case, you cannot configure offset, partition and consumer group id. The offset can be just configured with the [kafka.consumers.offset](#kafkaconsumersoffset) preference. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
In this case, the starting offset can be only be configured via the [kafka.consumers.offset](#kafkaconsumersoffset) preference.
docs/Consuming.md
Outdated
|
||
In this case, you cannot configure offset, partition and consumer group id. The offset can be just configured with the [kafka.consumers.offset](#kafkaconsumersoffset) preference. | ||
|
||
Some things to note about consuming: |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Known limitations:
docs/Consuming.md
Outdated
|
||
## Consumer View | ||
|
||
`Consumer View` is a read-only editor which shows producing messages for a given topic: |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
The Consumer View
is a read-only editor which shows consumed messages for a given topic:
docs/Consuming.md
Outdated
|
||
![Consumer view](assets/consumer-view.png) | ||
|
||
This editor provides 2 commands on the right of the editor: |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
... on the top right of the editor:
docs/Consuming.md
Outdated
|
||
This editor provides 2 commands on the right of the editor: | ||
|
||
* `Clear Consumer View` to clear the content of the view. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Clear Consumer View
: clears the view.
docs/Consuming.md
Outdated
This editor provides 2 commands on the right of the editor: | ||
|
||
* `Clear Consumer View` to clear the content of the view. | ||
* `Start/Stop` to stop or restart the consumer. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Start/Stop
: to stop or (re)start the consumer.
7724101
to
37dbc08
Compare
docs/Consuming.md
Outdated
|
||
* UTF-8 encoded keys and values only. If data is encoded differently, it will not be pretty. | ||
* One consumer group is created per topic (may change in the future to just have one for the extension). | ||
|
||
### Start command |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Start Consumer command
docs/Consuming.md
Outdated
Consuming topics can be done: | ||
|
||
* from the [Kafka Explorer](#kafka-explorer), by right-clicking on a topic and selecting "Start Consumer". | ||
* from the [Start command](#start-command), from the command palette. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
[Start Consumer](#start-consumer-command)
command
docs/Consuming.md
Outdated
|
||
* UTF-8 encoded keys and values only. If data is encoded differently, it will not be pretty. | ||
* One consumer group is created per topic (may change in the future to just have one for the extension). | ||
|
||
### Start command | ||
|
||
![Start Consumer with palette](assets/start-consumer-from-command.png) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Start Consumer from command palette
37dbc08
to
4575fca
Compare
Fixes jlandersen#40 Signed-off-by: azerr <[email protected]>
Thanks @angelozerr! |
Thanks @fbricon for the review! |
Provide an option to clear the consumer view
Fixes #40
Signed-off-by: azerr [email protected]