Re: Transactional Producer

2019-11-24 Thread Sergi Vladykin
Thanks a lot for your help! Another question about ordering and visibility. Lets say we have two transactional producers with different transactional ids. They both publish records to the same partition like this: *thread1: startTx* *thread1: record A* *thread2: startTx* *thread2: record X* *thr

Re: Transactional Producer

2019-11-24 Thread Jonathan Santilli
Hello Sergi, 1. Is it OK to mix transactional and non-transactional approach with a single KafkaProducer instance? - This is not possible, a transactional producer can not send data outside a transaction. I mean sometimes I want to publish multiple messages transactionally, but oftentimes just a

Re: Can not compile kafka

2019-11-24 Thread Ismael Juma
We have recently merged a PR that should fix the issue: https://github.com/apache/kafka/commit/09f700ab3e2a8441109e26851cc861be7856f5e4 `gradlew` now auto downloads the correct version so this kind of issue should no longer happen in the future. Ismael On Sun, Nov 24, 2019 at 5:40 AM Kun Song

Re: Can not compile kafka

2019-11-24 Thread Kun Song
There's a PR[1] which will enable gradle 6.0.1 to work with Kafka, hope it will be merged soon. 1. https://github.com/apache/kafka/pull/7677 On Thu, Nov 14, 2019 at 7:14 PM Miguel Silvestre wrote: > Hi, > > Thank you! That worked. I used gradle 5.6.4 and it worked, just out of the > box. > Let