Liking cljdoc? Tell your friends :D

grete.streams


cleanup-streamsclj

(cleanup-streams streams)
source

describe-topologyclj

(describe-topology streams)
source

filter-kvclj

(filter-kv fun)
(filter-kv fun stream)
source

for-eachclj

(for-each fun)
(for-each fun stream)

you would use foreach to cause side effects based on the input data (similar to peek) and then stop further processing of the input data (unlike peek, which is not a terminal operation)

you would use foreach to cause side effects based on the input data (similar to peek)
and then stop further processing of the input data
(unlike peek, which is not a terminal operation)
sourceraw docstring

int-serdeclj

(int-serde)
source

left-joinclj

(left-join fun)
(left-join fun stream table)
source

long-serdeclj

(long-serde)
source

make-streamsclj

(make-streams config builder)
source

map-kvclj

(map-kv fun)
(map-kv fun stream)
source

map-valuesclj

(map-values fun)
(map-values fun stream)
source

named-asclj

(named-as op f)
source

peekclj

(peek fun)
(peek fun stream)

performs a stateless action on each record, and returns an unchanged stream. (details) you would use peek to cause side effects based on the input data (similar to foreach) and continue processing the input data (unlike foreach, which is a terminal operation) peek returns the input stream as-is; if you need to modify the input stream, use map or mapValues instead peek is helpful for use cases such as logging or tracking metrics or for debugging and troubleshooting

performs a stateless action on each record, and returns an unchanged stream. (details)
you would use peek to cause side effects based on the input data (similar to foreach)
and continue processing the input data (unlike foreach, which is a terminal operation)
peek returns the input stream as-is; if you need to modify the input stream, use map or mapValues instead
peek is helpful for use cases such as logging or tracking metrics or for debugging and troubleshooting
sourceraw docstring

start-streamsclj

(start-streams streams)
source

stop-streamsclj

(stop-streams streams)
source

stream->topicclj

(stream->topic stream topic)
(stream->topic stream
               topic
               {:keys [key-serde value-serde]
                :or {key-serde (string-serde) value-serde (string-serde)}})
source

stream-builderclj

(stream-builder)
source

stream-on!clj

(stream-on! config make-topology)
source

string-serdeclj

(string-serde)
source

to-kvclj

(to-kv [k v])
source

to-stream-configclj

(to-stream-config m)
source

to-stream-propclj

(to-stream-prop prop)
source

topic->global-tableclj

(topic->global-table builder topic)
(topic->global-table builder
                     topic
                     {:keys [key-serde value-serde]
                      :or {key-serde (string-serde)
                           value-serde (string-serde)}})
source

topic->streamclj

(topic->stream builder topic)
(topic->stream builder
               topic
               {:keys [key-serde value-serde]
                :or {key-serde (string-serde) value-serde (string-serde)}})
source

topic->tableclj

(topic->table builder topic)
(topic->table builder
              topic
              {:keys [key-serde value-serde]
               :or {key-serde (string-serde) value-serde (string-serde)}})
source

transformclj

(transform builder streams)

for single topic to topic streams takes one or more kafka stream functions: map-kv, map-values, filter-kv, etc. applies them on a stream from one topic to another

(transform builder [{:from "foo-topic" :to "bar-topc" :via (k/map-kv some-fn-that-takes-k-and-v)} {:from "baz-topic" :to "moo-topc" :via [(k/map-values some-fn-that-takes-value) (k/filter-kv some-fn-that-takes-k-and-v-and-returns-boolean)]} {:from "zoo-topic" :via (k/for-each some-fn-that-takes-k-and-v)}])

for single topic to topic streams
takes one or more kafka stream functions: map-kv, map-values, filter-kv, etc.
applies them on a stream from one topic to another

(transform builder
 [{:from "foo-topic" :to "bar-topc" :via (k/map-kv some-fn-that-takes-k-and-v)}
  {:from "baz-topic" :to "moo-topc" :via [(k/map-values some-fn-that-takes-value)
                                              (k/filter-kv some-fn-that-takes-k-and-v-and-returns-boolean)]}
  {:from "zoo-topic"                  :via (k/for-each some-fn-that-takes-k-and-v)}])
sourceraw docstring

cljdoc is a website building & hosting documentation for Clojure/Script libraries

× close