Hello,
I'm following the quickstart guide for Confluent Platform 3.0 but I can't start the schema-registry (Zookeeper and Kafka are starting/working). Here's my configurations (default configuration):
$ cat /etc/kafka/zookeeper.properties
dataDir=/var/lib/zookeeper
clientPort=2181
maxClientCnxns=0
$ cat /etc/kafka/server.properties
num.network.threads=3
num.io.threads=8
socket.send.buffer.bytes=102400
socket.receive.buffer.bytes=102400
socket.request.max.bytes=104857600
log.dirs=/var/lib/kafka
num.partitions=1
num.recovery.threads.per.data.dir=1
log.retention.hours=168
log.segment.bytes=1073741824
zookeeper.connect=localhost:2181
confluent.support.metrics.enable=true
$ sudo cat /etc/schema-registry/schema-registry.properties
kafkastore.connection.url=localhost:2181
kafkastore.topic=_schemas
debug=false
When I'm trying to launch the schema-registry I have the following errors :
$ sudo schema-registry-start /etc/schema-registry/schema-registry.properties
SLF4J: Class path contains multiple SLF4J bindings.
SLF4J: Found binding in [jar:file:/usr/share/java/confluent-common/slf4j-log4j12-1.7.6.jar!/org/slf4j/impl/StaticLoggerBinder.class]
SLF4J: Found binding in [jar:file:/usr/share/java/schema-registry/slf4j-log4j12-1.7.6.jar!/org/slf4j/impl/StaticLoggerBinder.class]
SLF4J: Actual binding is of type [org.slf4j.impl.Log4jLoggerFactory]
Exception in thread "main" java.lang.ExceptionInInitializerError
at io.confluent.kafka.schemaregistry.rest.SchemaRegistryMain.main(SchemaRegistryMain.java:41)
Caused by: io.confluent.common.config.ConfigException: Configuration listeners is defined as an override but does not exist.
at io.confluent.common.config.ConfigDef.defineOverride(ConfigDef.java:121)
at io.confluent.common.config.ConfigDef.defineOverride(ConfigDef.java:160)
at io.confluent.kafka.schemaregistry.rest.SchemaRegistryConfig.<clinit>(SchemaRegistryConfig.java:188)
... 1 more
I have tried to change the schema-registry.properties but it's always asking about the "listeners" configuration like this. Does anyone has the same issue ?
Regards,
Nicolas PHUNG