huong8373tt-beep opened a new pull request, #40935:
URL: https://github.com/apache/beam/pull/40935

   ## Summary
   
   Clarifies the Go SDK initialization order in its package documentation, 
`beam.Init` API documentation, README, and getting-started example.
   
   - Calls out that `beam.Init()` belongs after flag parsing and before 
pipeline construction.
   - Calls out that registration happens before `beam.Init()`, normally in 
package `init` functions.
   - Makes the getting-started example demonstrate the required initialization.
   
   Closes #19226
   
   ## Testing
   
   - `go test ./pkg/beam`
   - `git diff --check`
   
   ## AI disclosure
   
   Slai Agent Runtime performed the investigation, implementation, and test 
execution. The account owner authorized this contribution and is responsible 
for its content.
   
   Signed-off-by: Slai.life <[email protected]>


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

Reply via email to