Re: Pattern to create Task with dependencies (DI)

2017-03-14 Thread Mathieu Fenniak
Hey Petr, I have the same issue. But I just cope with it; I wire up default dependencies directly in the connector and task constructors, expose them through properties, and modify them to refer to mocks in my unit tests. It's not a great approach, but it is simple. Why KConnect does take contr

RE: Pattern to create Task with dependencies (DI)

2017-03-13 Thread Petr Novak
Hello, Nobody has experience with Kafka Connect tasks with external dependencies? Thanks, Petr From: Petr Novak [mailto:oss.mli...@gmail.com] Sent: 23. Ășnora 2017 14:48 To: users@kafka.apache.org Subject: Pattern to create Task with dependencies (DI) Hello, it seems that KConnect ta