Open InfoSec812 opened 4 years ago
Tagging @gunnarmorling as requested
Hey @InfoSec812, that all sounds great to me. Agreed that the current Kafka Streams extension guide is quite dense and would benefit from a more incremental approach. If possible, I'd like if we could stick to the current example (domain) overall, but as you say, build it up more piece-meal wise and point out potential gotchas.
In terms of a quick-start, there's one accompanying the current guide (i.e. the full example).
Would be nice if this could also show different steps of evolving this; not sure what's the best way to do this, are there similar cases in other quick starts?
If you created a PR for this, that'd be awesome. Looking forward to this! In case new images are needed, you can ask @cescoffier, he kindly produced the original ones.
@gunnarmorling Since I am working on a similar PoC for a client, the weather station use case is fine. Most of my code will be very similar and can be Copy-Pasta'd to suit.
Excellent! Thanks a lot for your efforts around this, it's much appreciated.
I gotta do the work anyhow. I might as well share the knowledge and learning with the community.
Would be nice if this could also show different steps of evolving this; not sure what's the best way to do this, are there similar cases in other quick starts?
No. The approach with the quickstarts is to provide the final solution so that the reader can compare or have a quick overlook.
It would be nice if the guide could also cover more aspects of interactive-queries. The current guide does only cover "fetch by id". An other important use-case is "fetch all". Which gets interesting if the service scales up because of data distribution. I'm working on a generic abstraction for such an interactive query class.
Hey @InfoSec812, did you have a chance to make any progress with reworking the Kafka Streams guide?
No, I might be able to start this week once I am back home for DeveloperWeek.
Description Currently, the Kafka Streams guide for Quarkus jumps straight into a lot of concepts without much context. I'd like to propose (and submit a PR for) a change which shows a progression from:
In addition, I would like to call out some "stumbling blocks" I recently encountered when implementing Kafka Streams using Quarkus so that there is better clarity.
Implementation ideas I would submit a PR and a "Quickstart" example project for the progression of Kafka Streams as described above. I would also highlight some things which are not clearly called out in either the Quarkus or Kafka docs (e.g. TimeWindows have a default "grace period" of 86380000ms, not documented in either place).