kafka connector一直报错java.lang.IllegalArgumentException: Number of groups must be positive.这是啥错

1 发表于: 2018-01-24   最后更新时间: 2018-01-24 23:00:41   4,566 游览
java.lang.IllegalArgumentException: Number of groups must be positive.
    at org.apache.kafka.connect.util.ConnectorUtils.groupPartitions(ConnectorUtils.java:41)
    at io.confluent.connect.jdbc.JdbcSourceConnector.taskConfigs(JdbcSourceConnector.java:152)
    at org.apache.kafka.connect.runtime.Worker.connectorTaskConfigs(Worker.java:274)
    at org.apache.kafka.connect.runtime.standalone.StandaloneHerder.recomputeTaskConfigs(StandaloneHerder.java:266)
    at org.apache.kafka.connect.runtime.standalone.StandaloneHerder.updateConnectorTasks(StandaloneHerder.java:296)
    at org.apache.kafka.connect.runtime.standalone.StandaloneHerder.putConnectorConfig(StandaloneHerder.java:183)
    at org.apache.kafka.connect.cli.ConnectStandalone.main(ConnectStandalone.java:102)
发表于 2018-01-24
添加评论

Number of groups must be positive。这个就是错误原因呀。

你的答案

查看kafka相关的其他问题或提一个您自己的问题