pjain1 opened a new pull request #12317:
URL: https://github.com/apache/druid/pull/12317
### Description
Supervisor auto scaler config becomes null on coordinator restart. This is
because `SeekableStreamSupervisorIOConfig` has property `autoScalerConfig` but
the getter is called `getAutoscalerConfig` so while serializing the property
name becomes `autoscalerConfig` with small case `s` and therefore while
deserialzing `autoScalerConfig` becomes `null`. This PR fixes the spelling of
getter. Also added proper formatting for `SeekableStreamSupervisorSpecTest`
class.
##### Key changed/added classes in this PR
* `SeekableStreamSupervisorIOConfig`
* `KafkaSupervisorIOConfigTest`
<hr>
<!-- Check the items by putting "x" in the brackets for the done things. Not
all of these items apply to every PR. Remove the items which are not done or
not relevant to the PR. None of the items from the checklist below are strictly
necessary, but it would be very helpful if you at least self-review the PR. -->
This PR has:
- [x] been self-reviewed.
- [x] added unit tests or modified existing tests to cover new code paths,
ensuring the threshold for [code
coverage](https://github.com/apache/druid/blob/master/dev/code-review/code-coverage.md)
is met.
--
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]
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]