Azure / Azure/azure-sdk-for-java

[BUG] Doc issue: missing references at EventHubClientBuilder Class

Open
#46,443 3 comments 0 reactions 0 assignees View on GitHub
Client Event Hubs needs-team-attention Service Attention
Dominant language
Java
Stars
2.6k
Forks
2.2k
Avg merge
2d 8h
Merged PRs (30d)
178

Description

There are missing references at [EventHubClientBuilder Class | Microsoft Learn](https://nam06.safelinks.protection.outlook.com/?url=https%3A%2F%2Flearn.microsoft.com%2Fen-us%2Fjava%2Fapi%2Fcom.azure.messaging.eventhubs.eventhubclientbuilder%3Fview%3Dazure-java-preview%26branch%3Dmain&data=05%7C02%7Cxiangyan%40microsoft.com%7Cb32a2b9d02724c67e7c608dddebabded%7C72f988bf86f141af91ab2d7cd011db47%7C1%7C0%7C638911615884341964%7CUnknown%7CTWFpbGZsb3d8eyJFbXB0eU1hcGkiOnRydWUsIlYiOiIwLjAuMDAwMCIsIlAiOiJXaW4zMiIsIkFOIjoiTWFpbCIsIldUIjoyfQ%3D%3D%7C0%7C%7C%7C&sdata=5PrGDHcj8ehPFSW2UiitaIGEffa22Xw4qfRsWfmeSpE%3D&reserved=0)

Image

The issue is in code:
https://github.com/Azure/azure-sdk-for-java/blob/19cac4346d4b2919d5a1a84073ca1cab08c873cd/sdk/eventhubs/azure-messaging-eventhubs/src/main/java/com/azure/messaging/eventhubs/EventHubClientBuilder.java#L780-L782

The correct syntax is {@link classmember label}, and the label should not be inside quotes.
Simply remove the quotes around $Default will fix the issue.

Image

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.