nicoloboschi opened a new pull request #12697:
URL: https://github.com/apache/pulsar/pull/12697
### Motivation
FieldDoc#defaultValue() is wrong for these fields:
* primaryFields
* maxRetries
* indexNumberOfReplicas
* createIndexIfNeeded
These fields are available from the REST API since you can see the
configuration for a connector. If not set, the value for these fields is wrong
and can be very noisy for troubleshooting operations
### Modifications
Fixed default values for these fields.
### Verifying this change
This change is a trivial rework / code cleanup without any test coverage.
### Documentation
Need to update docs?
- [x] `no-need-doc`
--
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]