配置信息如下:
connect-standalone.properties >>
bootstrap.servers=192.168.16.129:19092,192.168.16.142:19092,192.168.16.143:19092
key.converter=org.apache.kafka.connect.json.JsonConverter
value.converter=org.apache.kafka.connect.json.JsonConverter
key.converter.schemas.enable=false
value.converter.schemas.enable=false
offset.storage.file.filename=/tmp/connect.offsets
offset.flush.interval.ms=10000
connect-file-source.properties >>
name=local-file-source
connector.class=FileStreamSource
tasks.max=1
file=/usr/local/kafka/data/test.txt
topic=testconnec
connect-file-sink.properties >>
name=local-file-sink
connector.class=FileStreamSink
tasks.max=1
file=/usr/local/kafka/data/test.sink.txt
topics=testconnec
解析异常应该怎么处理呢?这方面初学者,不太会进行更改