AdamChlupacek on v0.4.0-M4
AdamChlupacek on 0.4-spinoco-compat
Setting version to 0.4.0-M4 Setting version to 0.4.0-SNAPSH… (compare)
mraulim on 0.4-spinoco-compat
Add timeout for publishing in k… Added trusty as a dist for runn… Fixed timeout on leader query. and 2 more (compare)
AdamChlupacek on publish-connection-timeout
Add timeout for leaders stream. (compare)
AdamChlupacek on publish-connection-timeout
Fixed timeout on leader query. (compare)
AdamChlupacek on publish-connection-timeout
Added trusty as a dist for runn… (compare)
AdamChlupacek on publish-connection-timeout
Add timeout for publishing in k… (compare)
Hello. I'm trying to use version 0.2.0 and it looks like even getting kafka.client
working requires a non-trivial amount of work. I seem to need the following implicits just to make it compile:
implicit val _concurrent: Concurrent[IO] = IO.ioConcurrentEffect
implicit val AG: AsynchronousChannelGroup = AsynchronousChannelGroup.withThreadPool(Executors.newFixedThreadPool(8))
implicit val ec = ExecutionContext.fromExecutor(new ForkJoinPool(8))
implicit val scheduler = Scheduler(corePoolSize = 8).compile.toList.unsafeRunSync().head
implicit val logger = Logger.JDKLogger[IO](java.util.logging.Logger.getAnonymousLogger).unsafeRunSync()
I'm not really familiar with various concurrency and execution related functionalities in java and so I have no idea what I'm doing here. At the same time it seems to me that if these implicits were actually required it wouldve been mentioned on the readme? Am I doing something wrong?