cbornet commented on code in PR #13298:
URL: https://github.com/apache/pulsar/pull/13298#discussion_r1013900059
##########
pulsar-client/src/main/java/org/apache/pulsar/client/impl/conf/ConsumerConfigurationData.java:
##########
@@ -149,12 +147,13 @@ public int getMaxPendingChuckedMessage() {
private boolean resetIncludeHead = false;
+ @JsonIgnore
Review Comment:
KeySharedPolicy is not deserializable:
```java
@Test
public void test() {
Map<String, Object> config = new HashMap<>();
config.put("keySharedPolicy", KeySharedPolicy.autoSplitHashRange());
consumerBuilderImpl.loadConf(config);
}
```
fails with `com.fasterxml.jackson.databind.exc.InvalidDefinitionException:
Cannot construct instance of org.apache.pulsar.client.api.KeySharedPolicy`
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]