You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Describe the bug
After setting brokerEntryMetadataInterceptors parameters in conf/broker.conf, we found that we cannot invoke method org.apache.pulsar.client.api.Consumer#getLastMessageId normally. At the same time, the log also prompted that an exception occurred during metadata parsing.
To Reproduce
Steps to reproduce the behavior:
set parameters in conf/broker.conf as we used in KoP
# refer to https://github.com/streamnative/kop/blob/master/docs/kop.md
brokerEntryMetadataInterceptors=org.apache.pulsar.common.intercept.AppendIndexMetadataInterceptor,org.apache.pulsar.common.intercept.AppendBrokerTimestampMetadataInterceptor
Expected behavior
Able to correctly execute Consumer#getLastMessageId in this scenario.
Screenshots
org.apache.pulsar.client.api.PulsarClientException$BrokerMetadataException:
The subscription XXX of the topic YYY gets the last message id was failed
Failed to get batch size for entry java.lang.IllegalArgumentException: Invalid unknonwn tag type: 6
at org.apache.pulsar.client.api.PulsarClientException.unwrap(PulsarClientException.java:987)
at org.apache.pulsar.client.impl.ConsumerBase.getLastMessageId(ConsumerBase.java:606)
Additional context
I can help submit a PR later.
The text was updated successfully, but these errors were encountered:
Describe the bug
After setting
brokerEntryMetadataInterceptors
parameters inconf/broker.conf
, we found that we cannot invoke methodorg.apache.pulsar.client.api.Consumer#getLastMessageId
normally. At the same time, the log also prompted that an exception occurred during metadata parsing.To Reproduce
Steps to reproduce the behavior:
conf/broker.conf
as we used in KoP# refer to https://github.com/streamnative/kop/blob/master/docs/kop.md brokerEntryMetadataInterceptors=org.apache.pulsar.common.intercept.AppendIndexMetadataInterceptor,org.apache.pulsar.common.intercept.AppendBrokerTimestampMetadataInterceptor
Expected behavior
Able to correctly execute
Consumer#getLastMessageId
in this scenario.Screenshots
Additional context
I can help submit a PR later.
The text was updated successfully, but these errors were encountered: