Kafka: Comment puis-je activer l'enregistrement de client?

Lorsque j'instancie un Kafka de consommation

KafkaConsumer<String,String> consumer = new KafkaConsumer<String,String>(props);

Je reçois ce message d'

SLF4J: Failed to load class "org.slf4j.impl.StaticLoggerBinder".
SLF4J: Defaulting to no-operation (NOP) logger implementation
SLF4J: See http://www.slf4j.org/codes.html#StaticLoggerBinder for further details.

Comment puis-je activer la journalisation pour mon programme client?

OriginalL'auteur Mark Harrison | 2016-01-27