The parameter list to SourceConfig::build is growing quite large, and will likely soon have an additional parameter to support the end-to-end acknowledgement framework. To reduce the complexity of this and any further parameters, convert the parameter list into a struct SourceContext containing all the parameters.
Ref: #6911 (comment)
The parameter list to
SourceConfig::buildis growing quite large, and will likely soon have an additional parameter to support the end-to-end acknowledgement framework. To reduce the complexity of this and any further parameters, convert the parameter list into astruct SourceContextcontaining all the parameters.Ref: #6911 (comment)