Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Incorrect code on Get Started Website #23488

Open
aryanmehrotra opened this issue Sep 24, 2024 · 1 comment
Open

Incorrect code on Get Started Website #23488

aryanmehrotra opened this issue Sep 24, 2024 · 1 comment
Assignees
Labels
customer-reported Issues that are reported by GitHub users external to the Azure organization. Docs Event Hubs needs-team-attention Workflow: This issue needs attention from Azure service team or SDK team

Comments

@aryanmehrotra
Copy link

aryanmehrotra commented Sep 24, 2024

Hey, I am not sure if this is the right place to report but - code to start receiving from eventhub is wrong @ https://learn.microsoft.com/en-us/azure/event-hubs/event-hubs-go-get-started-send

Option param missing

if err := partitionClient.UpdateCheckpoint(context.TODO(), events[len(events)-1]); err != nil {

Should be

if err := partitionClient.UpdateCheckpoint(context.TODO(), events[len(events)-1], nil); err != nil {
				return err
			}
@github-actions github-actions bot added Client This issue points to a problem in the data-plane of the library. customer-reported Issues that are reported by GitHub users external to the Azure organization. Event Hubs needs-team-attention Workflow: This issue needs attention from Azure service team or SDK team question The issue doesn't require a change to the product in order to be resolved. Most issues start as that labels Sep 24, 2024
Copy link

Thank you for your feedback. Tagging and routing to the team member best able to assist.

@jhendrixMSFT jhendrixMSFT added Docs and removed question The issue doesn't require a change to the product in order to be resolved. Most issues start as that Client This issue points to a problem in the data-plane of the library. labels Sep 24, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
customer-reported Issues that are reported by GitHub users external to the Azure organization. Docs Event Hubs needs-team-attention Workflow: This issue needs attention from Azure service team or SDK team
Projects
None yet
Development

No branches or pull requests

3 participants