confluentinc / vscode

Confluent for Visual Studio Code
https://marketplace.visualstudio.com/items?itemName=confluentinc.vscode-confluent
Apache License 2.0
13 stars 3 forks source link

Consume messages from timestamp: validation, formatting, maybe datetime picker? #212

Open alexeyraspopov opened 1 month ago

alexeyraspopov commented 1 month ago

From https://github.com/confluentinc/vscode/discussions/126

Allow Consume From: timestamp to accept an ISO formatted string in addition to epoch timestamp. We display 'em, should be able to eat 'em.

This has been mentioned several times internally as well. Currently the timestamp field that appears when "From timestamp" consume mode selected, uses timestamps. As a free form input, we can make an attempt to parse ISO format from it easily.

image

It would also be nice to add validation step and UI feedback for this control, to avoid confusing feedback when messages are not getting back.

noeldevelops commented 2 weeks ago

Q: how is time zone considered here? Will we allow users to choose a timezone?

noeldevelops commented 2 weeks ago

From @derek1ee - https://x.com/zehf/status/182805842698482904 fun enhancement