Fork me on GitHub
#duct
<
2019-09-23
>
teaforthecat18:09:16

does anyone use kafka with duct? I’m working the idea here: https://github.com/teaforthecat/duct-kafka

iku00088808:09:22

Why would you roll your own consumer thread when there is kafka streams?

teaforthecat09:09:17

I’m imagining streams being another namespace so that it would be optional. I could imagine streams being the only option though, if a similar know-nothing interface could be made. A data transformation from keywords to stream concepts would be a cool interface. Do you use streams? Do you have an idea for how that would work?

bocaj23:09:09

How do you read in System/getProperty "x" ? I see

#duct/env
only includes System/getenv "x". I'm removing the environ library from my code base, and noticed this difference.

iku00088808:09:01

You could add your own reader that looks up properties instead of env vars.

bocaj20:09:09

oh! That's actually not hard to do. thanks!