kfaraz commented on code in PR #19772:
URL: https://github.com/apache/druid/pull/19772#discussion_r3727026594
##########
indexing-service/src/main/java/org/apache/druid/indexing/overlord/config/DefaultTaskConfig.java:
##########
@@ -35,7 +36,15 @@
public class DefaultTaskConfig
{
@JsonProperty
- private final Map<String, Object> context = ImmutableMap.of();
+ private final Map<String, Object> context;
+
+ @JsonCreator
+ public DefaultTaskConfig(
Review Comment:
Having the constructor simplifies instantiating this config in tests.
--
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]