Skip to content

Conversation

@angelozerr
Copy link
Collaborator

POC with output consumer.

Signed-off-by: azerr [email protected]

@angelozerr angelozerr force-pushed the output-consumer branch 4 times, most recently from 18ca458 to 095300b Compare December 18, 2020 14:24
@angelozerr
Copy link
Collaborator Author

angelozerr commented Dec 18, 2020

This draft PR replaces the consumer view editor with the vscode standard output channel. Here a little demo:

ConsumerOutoutDemo

@angelozerr
Copy link
Collaborator Author

angelozerr commented Dec 19, 2020

@jlandersen @fbricon what do you think about using output instead of using editor (like today) to display Kafka consumer messages?

@jlandersen
Copy link
Owner

@angelozerr I originally considered Output first when I implemented consumers but went for the current approach due to specifically not being able to add custom actions as you write.

I am not against adding support for using Output instead, but there should be improvements to managing consumers as well - perhaps a separate node in the sidebar with active consumers (I'd probably want this in the future anyways, regardless of whether consumer output is kept as a text document).

@angelozerr
Copy link
Collaborator Author

due to specifically not being able to add custom actions as you write.

Ok thanks for your feedback.

I am not against adding support for using Output instead, but there should be improvements to managing consumers as well - perhaps a separate node in the sidebar with active consumers

Ok I will study your idea;

(I'd probably want this in the future anyways, regardless of whether consumer output is kept as a text document).

@jlandersen what do you think about supporting both output and text document with a settings?

@jlandersen
Copy link
Owner

due to specifically not being able to add custom actions as you write.

Ok thanks for your feedback.

I am not against adding support for using Output instead, but there should be improvements to managing consumers as well - perhaps a separate node in the sidebar with active consumers

Ok I will study your idea;

(I'd probably want this in the future anyways, regardless of whether consumer output is kept as a text document).

@jlandersen what do you think about supporting both output and text document with a settings?

I'm definitely open for it :)

@angelozerr
Copy link
Collaborator Author

I'm definitely open for it :)

Thanks for your feedback! @fbricon what do you think about that?

@fbricon
Copy link
Collaborator

fbricon commented Jan 5, 2021

We can do that, but we can go even further. If virtual doc is being used, detect if we reach a buffer threshold and then advise the user to switch to the console

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants