Skip to content
Open
Show file tree
Hide file tree
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 3 additions & 1 deletion CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,9 @@

## Unreleased

* Fix `ktable` constructor to use supplied `store-name`
* Allow map with keyword keys in streams constructor.

* Fix `ktable` constructor to use supplied `store-name`

## [0.7.3] - [2020-04-08]

Expand Down
7 changes: 3 additions & 4 deletions src/jackdaw/streams.clj
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,7 @@
{:license "BSD 3-Clause License <https://github.com/FundingCircle/jackdaw/blob/master/LICENSE>"}
(:refer-clojure :exclude [count map merge reduce group-by filter peek])
(:require [clojure.string :as str]
[jackdaw.data :as jd]
[jackdaw.streams.interop :as interop]
[jackdaw.streams.protocols :as p])
(:import org.apache.kafka.streams.KafkaStreams
Expand Down Expand Up @@ -315,10 +316,8 @@
(defn kafka-streams
"Makes a Kafka Streams object."
([builder opts]
(let [props (java.util.Properties.)]
(.putAll props opts)
(KafkaStreams. ^Topology (.build ^StreamsBuilder (streams-builder* builder))
^java.util.Properties props))))
(KafkaStreams. ^Topology (.build (streams-builder* builder))
(jd/map->Properties opts))))

(defn start
"Starts processing."
Expand Down