linkedin / li-apache-kafka-clients

li-apache-kafka-clients is a wrapper library for the Apache Kafka vanilla clients. It provides additional features such as large message support and auditing to the Java producer and consumer in the open source Apache Kafka.
BSD 2-Clause "Simplified" License
133 stars 52 forks source link

Auditor should only call join() if timeout > 0 #52

Closed lindong28 closed 7 years ago

lindong28 commented 7 years ago

Thread.join(timeout) will wait forever if timeout is 0. This patch fixes the problem. @smccauliff can you review this patch?