Skywalking Kafka fetcher error after upgrade 9.2.0 #10780
skundu1234
started this conversation in
General
Replies: 1 comment 10 replies
-
You are using a snapshot rather than an official release.(9.3.0-SNAPSHOT). We don't know what is your version. And we don't know what is your old version, the Kafka messages should be cleared if you are bumping up from a very old version. |
Beta Was this translation helpful? Give feedback.
10 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Skywalking OAP Kafka fetcher config:
kafka-fetcher:
selector: ${SW_KAFKA_FETCHER:default}
default:
bootstrapServers: ${SW_KAFKA_FETCHER_SERVERS:}
namespace: ${SW_NAMESPACE:""}
partitions: ${SW_KAFKA_FETCHER_PARTITIONS:30}
replicationFactor: ${SW_KAFKA_FETCHER_PARTITIONS_FACTOR:3}
enableNativeProtoLog: ${SW_KAFKA_FETCHER_ENABLE_NATIVE_PROTO_LOG:true}
enableNativeJsonLog: ${SW_KAFKA_FETCHER_ENABLE_NATIVE_JSON_LOG:true}
isSharding: ${SW_KAFKA_FETCHER_IS_SHARDING:false}
consumePartitions: ${SW_KAFKA_FETCHER_CONSUME_PARTITIONS:""}
consumers: ${SW_KAFKA_FETCHER_CONSUMERS:1}
kafkaHandlerThreadPoolSize: ${SW_KAFKA_HANDLER_THREAD_POOL_SIZE:-1}
kafkaHandlerThreadPoolQueueSize: ${SW_KAFKA_HANDLER_THREAD_POOL_QUEUE_SIZE:-1}
kafkaConsumerConfig:
enable.auto.commit: true
security.protocol: SASL_SSL
ssl.truststore.location: ${SW_KAFKA_CONSUMER_TRUSTSTORE_LOCATION:""}
ssl.truststore.password: ${SW_KAFKA_CONSUMER_CONFIG_TRUSTSTORE_PASSWORD:""}
ssl.endpoint.identification.algorithm: ""
sasl.mechanism: SCRAM-SHA-512
sasl.jaas.config: ${SW_KAFKA_CONSUMER_JAAS_CONFIG:""}
Error log:
org.apache.skywalking.oap.server.analyzer.agent.kafka.provider.handler.MeterServiceHandler 87 [KafkaConsumer-1-thread-3] ERROR [] - [9.3.0-SNAPSHOT-dd6b7a1] handle record failed
com.google.protobuf.InvalidProtocolBufferException: Protocol message end-group tag did not match expected tag.
at com.google.protobuf.InvalidProtocolBufferException.invalidEndTag(InvalidProtocolBufferException.java:129) ~[protobuf-java-3.19.4.jar:?]
at com.google.protobuf.CodedInputStream$ArrayDecoder.checkLastTagWas(CodedInputStream.java:641) ~[protobuf-java-3.19.4.jar:?]
at com.google.protobuf.CodedInputStream$ArrayDecoder.readMessage(CodedInputStream.java:890) ~[protobuf-java-3.19.4.jar:?]
at org.apache.skywalking.apm.network.language.agent.v3.MeterData.(MeterData.java:63) ~[apm-network-9.3.0-SNAPSHOT.jar:9.3.0-SNAPSHOT]
at org.apache.skywalking.apm.network.language.agent.v3.MeterData.(MeterData.java:13) ~[apm-network-9.3.0-SNAPSHOT.jar:9.3.0-SNAPSHOT]
at org.apache.skywalking.apm.network.language.agent.v3.MeterData$1.parsePartialFrom(MeterData.java:1318) ~[apm-network-9.3.0-SNAPSHOT.jar:9.3.0-SNAPSHOT]
at org.apache.skywalking.apm.network.language.agent.v3.MeterData$1.parsePartialFrom(MeterData.java:1312) ~[apm-network-9.3.0-SNAPSHOT.jar:9.3.0-SNAPSHOT]
at com.google.protobuf.CodedInputStream$ArrayDecoder.readMessage(CodedInputStream.java:889) ~[protobuf-java-3.19.4.jar:?]
at org.apache.skywalking.apm.network.language.agent.v3.MeterDataCollection.(MeterDataCollection.java:59) ~[apm-network-9.3.0-SNAPSHOT.jar:9.3.0-SNAPSHOT]
at org.apache.skywalking.apm.network.language.agent.v3.MeterDataCollection.(MeterDataCollection.java:9) ~[apm-network-9.3.0-SNAPSHOT.jar:9.3.0-SNAPSHOT]
at org.apache.skywalking.apm.network.language.agent.v3.MeterDataCollection$1.parsePartialFrom(MeterDataCollection.java:751) ~[apm-network-9.3.0-SNAPSHOT.jar:9.3.0-SNAPSHOT]
at org.apache.skywalking.apm.network.language.agent.v3.MeterDataCollection$1.parsePartialFrom(MeterDataCollection.java:745) ~[apm-network-9.3.0-SNAPSHOT.jar:9.3.0-SNAPSHOT]
at com.google.protobuf.AbstractParser.parsePartialFrom(AbstractParser.java:158) ~[protobuf-java-3.19.4.jar:?]
at com.google.protobuf.AbstractParser.parseFrom(AbstractParser.java:191) ~[protobuf-java-3.19.4.jar:?]
at com.google.protobuf.AbstractParser.parseFrom(AbstractParser.java:203) ~[protobuf-java-3.19.4.jar:?]
at com.google.protobuf.AbstractParser.parseFrom(AbstractParser.java:208) ~[protobuf-java-3.19.4.jar:?]
at com.google.protobuf.AbstractParser.parseFrom(AbstractParser.java:48) ~[protobuf-java-3.19.4.jar:?]
at org.apache.skywalking.apm.network.language.agent.v3.MeterDataCollection.parseFrom(MeterDataCollection.java:228) ~[apm-network-9.3.0-SNAPSHOT.jar:9.3.0-SNAPSHOT]
at at org.apache.skywalking.oap.server.analyzer.agent.kafka.KafkaFetcherHandlerRegister.lambda$runTask$1(KafkaFetcherHandlerRegister.java:122) ~[kafka-fetcher-plugin-9.3.0-SNAPSHOT.jar:9.3.0-SNAPSHOT]
at java.util.concurrent.Executors$RunnableAdapter.call(Unknown Source) [?:?]
at java.util.concurrent.FutureTask.run(Unknown Source) [?:?]
at java.util.concurrent.ThreadPoolExecutor.runWorker(Unknown Source) [?:?]
at java.util.concurrent.ThreadPoolExecutor$Worker.run(Unknown Source) [?:?]
at java.lang.Thread.run(Unknown Source) [?:?]
I see that PR is also raised.
05afa98
Beta Was this translation helpful? Give feedback.
All reactions