If you use the Java Client the logging should be quite easy. You can add the SLF4J simple logger to your dependencies: <dependency> <groupId>org.slf4j</groupId> <artifactId>slf4j-simple</artifactId> <version>1.7.22</version> </dependency>
And set the system property org.slf4j.simpleLogger.defaultLogLevel to the log level you want - info, debug etc. This should print the logs to the standard output. You can also try if the problem is in the Kerberos configuration by changing the protocol map from SASL_PLAINTEXT to PLAINTEXT: listener.security.protocol.map=SSL:SSL,REPLICATION:PLAINTEXT in the configuration I suggested above. J. On Fri, Nov 3, 2017 at 6:21 PM, chidigam . <bhanu.ki...@gmail.com> wrote: > Hi Jakub, > I believe there is some thing wrong with inter broker communication. In > producer my send call just blocks. > As told you I am new to the Kafka, is there any quick way to enable the > producer logs. > > Regards > Bhanu > > On Fri, Nov 3, 2017 at 10:37 PM, Jakub Scholz <ja...@scholz.cz> wrote: > > > Do you have some logs from your producer? Is it just the producer what is > > not working? Or is the producer not working because the Interbroker > > communication doesn't work? > > > > J. > > > > On Fri, Nov 3, 2017 at 6:02 PM, chidigam . <bhanu.ki...@gmail.com> > wrote: > > > > > Hi Jakub, > > > Thanks for responding, I tried what you have suggested, but producer > is > > > not working. > > > If I enable SSL for replication,then every thing works fine. > > > > > > Regards > > > Bhanu > > > > > > On Fri, Nov 3, 2017 at 9:52 PM, Jakub Scholz <ja...@scholz.cz> wrote: > > > > > > > Sure, you can use someting like this: > > > > listeners=SSL://:9092,REPLICATION://:19092 > > > > listener.security.protocol.map=SSL:SSL,REPLICATION:SASL_PLAINTEXT > > > > inter.broker.listener.name=REPLICATION > > > > > > > > (plus all the SSL and Kerberos configuration) > > > > > > > > Jakub > > > > > > > > On Fri, Nov 3, 2017 at 4:48 PM, chidigam . <bhanu.ki...@gmail.com> > > > wrote: > > > > > > > > > Hi All, > > > > > I am new to Kafka and trying to understand possible security > > > > combinations. > > > > > I want to do Client authentication and authorization only with SSL. > > > > > Inter broker communication should be with Kerberos with out SSL. Is > > > this > > > > > possible? > > > > > > > > > > Can anyone help me with configurations. > > > > > > > > > > Regards > > > > > Bhanu > > > > > > > > > > > > > > >