You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
-[Authenticate the client](#authenticate-the-client)
29
-
-[Create an Event Hub producer using a connection string](#create-an-event-hub-producer-using-a-connection-string)
30
-
-[Create an Event Hub client using Microsoft identity platform (formerly Azure Active Directory)](#create-an-event-hub-client-using-microsoft-identity-platform-formerly-azure-active-directory)
31
-
-[Key concepts](#key-concepts)
32
-
-[Examples](#examples)
33
-
-[Publish events to an Event Hub](#publish-events-to-an-event-hub)
34
-
-[Consume events from an Event Hub partition](#consume-events-from-an-event-hub-partition)
35
-
-[Consume events using an EventProcessorClient](#consume-events-using-an-eventprocessorclient)
36
-
-[Troubleshooting](#troubleshooting)
37
-
-[Enable client logging](#enable-client-logging)
38
-
-[Enable AMQP transport logging](#enable-amqp-transport-logging)
39
-
-[Exceptions](#exceptions)
40
-
-[Next steps](#next-steps)
41
-
-[Contributing](#contributing)
24
+
-[Azure Event Hubs client library for Java](#azure-event-hubs-client-library-for-java)
25
+
-[Table of contents](#table-of-contents)
26
+
-[Getting started](#getting-started)
27
+
-[Prerequisites](#prerequisites)
28
+
-[Include the package](#include-the-package)
29
+
-[Authenticate the client](#authenticate-the-client)
30
+
-[Key concepts](#key-concepts)
31
+
-[Examples](#examples)
32
+
-[Publish events to an Event Hub](#publish-events-to-an-event-hub)
33
+
-[Consume events from an Event Hub partition](#consume-events-from-an-event-hub-partition)
34
+
-[Consume events using an EventProcessorClient](#consume-events-using-an-eventprocessorclient)
35
+
-[Troubleshooting](#troubleshooting)
36
+
-[Enable client logging](#enable-client-logging)
37
+
-[Enable AMQP transport logging](#enable-amqp-transport-logging)
Copy file name to clipboardExpand all lines: sdk/eventhubs/azure-messaging-eventhubs/src/main/java/com/azure/messaging/eventhubs/EventHubClientBuilder.java
+1-1Lines changed: 1 addition & 1 deletion
Original file line number
Diff line number
Diff line change
@@ -65,7 +65,7 @@
65
65
* </ul>
66
66
*
67
67
* <p>
68
-
* In addition, <strong>consumer group</strong> is required when creating {@link EventHubConsumerAsyncClient} or
68
+
* In addition, the <strong>consumer group</strong> is required when creating {@link EventHubConsumerAsyncClient} or
Copy file name to clipboardExpand all lines: sdk/eventhubs/azure-messaging-eventhubs/src/main/java/com/azure/messaging/eventhubs/EventHubConsumerClient.java
+3-2Lines changed: 3 additions & 2 deletions
Original file line number
Diff line number
Diff line change
@@ -30,8 +30,9 @@
30
30
*
31
31
* <p><strong>Consuming events from a single partition</strong></p>
32
32
* <p>Events from a single partition can be consumed using {@link #receiveFromPartition(String, int, EventPosition)} or
33
-
* {@link #receiveFromPartition(String, int, EventPosition, Duration)}. The call to `receive` completes and returns an
34
-
* {@link IterableStream} when either the maximum number of events is received, or the timeout has elapsed.</p>
33
+
* {@link #receiveFromPartition(String, int, EventPosition, Duration)}. The call to {@code receiveFromPartition}
34
+
* completes and returns an {@link IterableStream} when either the maximum number of events is received, or the
Copy file name to clipboardExpand all lines: sdk/eventhubs/azure-messaging-eventhubs/src/main/java/com/azure/messaging/eventhubs/EventProcessorClientBuilder.java
+12-13Lines changed: 12 additions & 13 deletions
Original file line number
Diff line number
Diff line change
@@ -45,19 +45,18 @@
45
45
* from the Event Hub.</li>
46
46
* <li>{@link #processError(Consumer) processError} - A callback that handles errors that may occur while running the
47
47
* EventProcessorClient.</li>
48
-
* <li>Credentials -
49
-
* <strong>Credentials are required</strong> to perform operations against Azure Event Hubs. They can be set by using
50
-
* one of the following methods:
51
-
* <ul>
52
-
* <li>{@link #connectionString(String)} with a connection string to a specific Event Hub.
53
-
* </li>
54
-
* <li>{@link #connectionString(String, String)} with an Event Hub <i>namespace</i> connection string and the Event Hub
55
-
* name.</li>
56
-
* <li>{@link #credential(String, String, TokenCredential)} with the fully qualified namespace, Event Hub name, and a
57
-
* set of credentials authorized to use the Event Hub.
58
-
* </li>
59
-
* </ul>
60
-
* </li>
48
+
* <li>Credentials to perform operations against Azure Event Hubs. They can be set by using one of the following
49
+
* methods:
50
+
* <ul>
51
+
* <li>{@link #connectionString(String) connectionString(String)} with a connection string to a specific Event Hub.
52
+
* </li>
53
+
* <li>{@link #connectionString(String, String) connectionString(String, String)} with an Event Hub <i>namespace</i>
54
+
* connection string and the Event Hub name.</li>
55
+
* <li>{@link #credential(String, String, TokenCredential) credential(String, String, TokenCredential)} with the fully
56
+
* qualified namespace, Event Hub name, and a set of credentials authorized to use the Event Hub.
57
+
* </li>
58
+
* </ul>
59
+
* </li>
61
60
* </ul>
62
61
*
63
62
* <p><strong>Creating an {@link EventProcessorClient}</strong></p>
Copy file name to clipboardExpand all lines: sdk/eventhubs/azure-messaging-eventhubs/src/main/java/com/azure/messaging/eventhubs/LoadBalancingStrategy.java
+2Lines changed: 2 additions & 0 deletions
Original file line number
Diff line number
Diff line change
@@ -6,6 +6,8 @@
6
6
/**
7
7
* The strategy used by event processor for load balancing the partition ownership to distribute the event processing
Copy file name to clipboardExpand all lines: sdk/eventhubs/azure-messaging-eventhubs/src/main/java/com/azure/messaging/eventhubs/models/EventBatchContext.java
0 commit comments