You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Edit: Changed from Bug to New Feature
We should be able to plumb additional flags to the automatically started up Java Expansion service, in case there are specific flags IOs need. Eg. for a recent KafkaIO issue that didn't appear to be able to worked around centrally. What follows is the original bug and proposal.
The Java KafkaIO SDF implementation is experiencing issues #21730 and the Xlang wrappers need to be updated to pass an experiment flag to the Java Expansion service.
This issue tracks doing the same to the Go KafkaIO wrapper, to pass the additional args to the automatically started up expansion service, as it was done to the python wrapper in #22286.
--experiments=use_unbounded_sdf_wrapper in particular.
lostluck
changed the title
[Bug]: Update Go KafkaIO wrapper to work around #21730 (Pass additional args to automated expansion service startup)
[New Feature]: Be able to Pass additional args to automated expansion service startup [Go SDK]
Jul 15, 2022
What happened?
Edit: Changed from Bug to New Feature
We should be able to plumb additional flags to the automatically started up Java Expansion service, in case there are specific flags IOs need. Eg. for a recent KafkaIO issue that didn't appear to be able to worked around centrally. What follows is the original bug and proposal.
The Java KafkaIO SDF implementation is experiencing issues #21730 and the Xlang wrappers need to be updated to pass an experiment flag to the Java Expansion service.
This issue tracks doing the same to the Go KafkaIO wrapper, to pass the additional args to the automatically started up expansion service, as it was done to the python wrapper in #22286.
--experiments=use_unbounded_sdf_wrapper
in particular.https://github.com/apache/beam/blob/master/sdks/go/pkg/beam/io/xlang/kafkaio/kafka.go#L90
Additional args can probably be added as a new "ExpansionServiceOption"
beam/sdks/go/pkg/beam/core/runtime/xlangx/registry.go
Line 289 in 896bf1a
And plumbed through to
beam/sdks/go/pkg/beam/core/runtime/xlangx/expand.go
Line 180 in d2fe48e
Issue Priority
Priority: 2
Issue Component
Component: sdk-go
The text was updated successfully, but these errors were encountered: