pabloem commented on a change in pull request #11166: [BEAM-7923] Emit info
when capture control options are configured.
URL: https://github.com/apache/beam/pull/11166#discussion_r395230548
##########
File path: sdks/python/apache_beam/runners/interactive/interactive_beam.py
##########
@@ -64,11 +67,33 @@ def enable_capture_replay(self, value):
and pipeline runs always use the same data captured; False - Disables
capture of replayable source data so that following PCollection evaluation
and pipeline runs always use new data from sources."""
+ # This makes sure the log handler is configured correctly in case the
+ # options are configured in an early stage.
+ _ = ie.current_env()
+ if value:
+ _LOGGER.info(
+ 'Capture replay is enabled. When a PCollection is evaluated or the '
+ 'pipeline is executed, existing data captured from previous '
+ 'computations will be replayed for replayability. If no capture is '
Review comment:
Replayed for replayability? How about this? I'm not sure what's a good
phrasing, but...
Also, maybe capture->captured data?
```suggestion
'computations will be replayed for consistent results. If no
captured data is '
```
----------------------------------------------------------------
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.
For queries about this service, please contact Infrastructure at:
[email protected]
With regards,
Apache Git Services