-
Notifications
You must be signed in to change notification settings - Fork 80
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
Decoupled topology #278
base: master
Are you sure you want to change the base?
Decoupled topology #278
Conversation
* Renamed test ns to correct file path * Modified jackdaw.streams/kafka-streams to accept either a Topology or a CljStreamsBuilder.
@@ -16,3 +16,5 @@ pom.xml.asc | |||
.lein-* | |||
.cpcache | |||
.nrepl-port | |||
/.idea |
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.
This is a convenience for IntelliJ/Cursive users that prevents project files from being committed.
(.putAll props opts) | ||
(KafkaStreams. ^Topology (.build ^StreamsBuilder (streams-builder* builder)) | ||
^java.util.Properties props)))) | ||
(defn ^Topology topology |
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.
This block decouples the creation of the streams app from the creation of the underlying Topology. This is particularly useful for drilling down into the Topology for doing things like accessing the description as well as opening up the way to doing datafy/nav using the active system's topology.
@@ -1,4 +1,4 @@ | |||
(ns jackdaw.client-test | |||
(ns jackdaw.client.partitioning-test |
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.
This is the correct ns name (unless you want to move the file).
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.
Ah thanks for fixing this.
Codecov Report
@@ Coverage Diff @@
## master #278 +/- ##
==========================================
+ Coverage 81.16% 81.34% +0.17%
==========================================
Files 41 41
Lines 2586 2589 +3
Branches 153 153
==========================================
+ Hits 2099 2106 +7
+ Misses 334 330 -4
Partials 153 153
Continue to review full report at Codecov.
|
Checklist