-
Notifications
You must be signed in to change notification settings - Fork 138
KOP upgrade Problem #1527
Comments
@hzluyang Do you have a full broker log here? Through the |
Some Error logbelow seems like kafka_exporter cannot LIST_OFFSETS 2022-10-14T20:19:20,121+0800 [kop-event-thread] ERROR io.streamnative.pulsar.handlers.kop.KopEventManager - Error processing event null I find out if I upgrade protocals from 2.9.3.1.nar to 2.9.3.13.nar kafka_exporter cannot get metrics |
However, some non-official Kafka clients might not work for kafka format. For example, old Golang Sarama client didn't assign relative offsets in compressed message sets before IBM/sarama#1002. In this case, the broker has to assign relative offsets and then do recompression. Since this behavior leads to some performance loss, KoP adds the mixed_kafka format to perform the conversion. The mixed_kafka format should be chosen when you have such an old Kafka client. Like kafka format, in this case, Pulsar consumers still cannot consume messages from Kafka producers. maybe it can fix by set mixed_kafka I will try |
|
hi @hzluyang , what's the result if you set |
my current pulsar version is 2.9.2 kafka-protocal pulsar-protocol-handler-kafka-2.9.2.13.nar
So I plan to upgrade the pulsar cluster from bookeeper to broker from version 2.9.2 to 2.9.3
When i upgrade broker with kafka-protocal pulsar-protocol-handler-kafka-2.9.3.13.nar But It went wrong
Got error from broker:
2022-10-13T11:45:43,891+0800 [pulsar-io-4-93] ERROR io.streamnative.pulsar.handlers.kop.KafkaRequestHandler - Caught error in handler, closing channel
io.netty.handler.codec.TooLongFrameException: Adjusted frame length exceeds 104857600: 4294246401 - discarded
Got error from kafkaclient 2.0.0:
F1013 11:04:08.548171 153179 kafka_exporter.go:865] Error Init Kafka Client: kafka: client has run out of available brokers to talk to (Is your cluster reachable?)
so i change nar from pulsar-protocol-handler-kafka-2.9.3.13.nar to pulsar-protocol-handler-kafka-2.9.3.1.nar
it works well
So what's happend between 2.9.3.13.nar to 2.9.3.1.nar
The text was updated successfully, but these errors were encountered: