他的回复:
回复:一枚核桃 发表于 2021-6-23 09:14 Flink消费Kafka的Topic进行流式处理的样例如下,请参考https://github.com/huaweicloud/huaweicloud-mrs-专家您好,kafka的各类参数我是设置在代码里面,参数设置如下:Properties properties = new Properties();properties.setProperty("bootstrap.servers", kafkaBootStrapServer);properties.setProperty("group.id", kafkaGroup);properties.put("enable.auto.commit", "true");properties.put("auto.commit.interval.ms", "1000");properties.put("security.protocol","SASL_PLAINTEXT");properties.put("sasl.kerberos.service.name","kafka");properties.put("key.deserializer", "org.apache.kafka.common.serialization.StringDeserializer");properties.put("value.deserializer", "org.apache.kafka.common.serialization.StringDeserializer");错误中抛连接zookeeper鉴权错误,是否是需要加其他参数?