[ 
https://issues.apache.org/jira/browse/BEAM-13829?focusedWorklogId=750174&page=com.atlassian.jira.plugin.system.issuetabpanels:worklog-tabpanel#worklog-750174
 ]

ASF GitHub Bot logged work on BEAM-13829:
-----------------------------------------

                Author: ASF GitHub Bot
            Created on: 30/Mar/22 14:44
            Start Date: 30/Mar/22 14:44
    Worklog Time Spent: 10m 
      Work Description: riteshghorse commented on a change in pull request 
#16957:
URL: https://github.com/apache/beam/pull/16957#discussion_r838632290



##########
File path: sdks/go/pkg/beam/core/runtime/harness/harness.go
##########
@@ -98,6 +111,18 @@ func Main(ctx context.Context, loggingEndpoint, 
controlEndpoint string) error {
                log.Debugf(ctx, "control response channel closed")
        }()
 
+       // if the runner supports worker status api then expose SDK harness 
status
+       if statusEndpoint != "" {
+               statusHandler, err := newWorkerStatusHandler(ctx, 
statusEndpoint)
+               if err != nil {
+                       log.Error(ctx, err)
+               }
+               var swg sync.WaitGroup
+               swg.Add(1)

Review comment:
       Yeah, that would clear things. Thanks!




-- 
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]


Issue Time Tracking
-------------------

    Worklog Id:     (was: 750174)
    Time Spent: 8h 40m  (was: 8.5h)

> Expose status api from Go SDK Harness
> -------------------------------------
>
>                 Key: BEAM-13829
>                 URL: https://issues.apache.org/jira/browse/BEAM-13829
>             Project: Beam
>          Issue Type: Sub-task
>          Components: sdk-go
>            Reporter: Ritesh Ghorse
>            Assignee: Ritesh Ghorse
>            Priority: P2
>          Time Spent: 8h 40m
>  Remaining Estimate: 0h
>
> Expose status api handle from Go SDK harness to runner.
> Doc link: 
> https://docs.google.com/document/d/1dMTD5_sKdzLcnoe0ZsQU5Wf9q11uliyYgFnnOZQDzuI/edit?usp=sharing



--
This message was sent by Atlassian Jira
(v8.20.1#820001)

Reply via email to