duct

teaforthecat 2019-09-23T18:28:16.005200Z

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

iku000888 2019-09-24T08:18:22.008100Z

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

teaforthecat 2019-09-24T09:20:17.008600Z

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?

bocaj 2019-09-23T23:29:09.007Z

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.

iku000888 2019-09-24T08:21:01.008400Z

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

bocaj 2019-09-24T20:35:09.009100Z

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