返回到文章

采纳

编辑于

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

kafka

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)