Skip to content

Commit

Permalink
change eventHubName to proper one (#16)
Browse files Browse the repository at this point in the history
  • Loading branch information
kortemik authored Dec 11, 2023
1 parent e6a80e1 commit 5cb1f1c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/main/java/com/teragrep/aer_01/Main.java
Original file line number Diff line number Diff line change
Expand Up @@ -88,7 +88,7 @@ public static void main(String[] args) throws IOException, InterruptedException
// Create an event processor client to receive and process events and errors.
EventProcessorClient eventProcessorClient = new EventProcessorClientBuilder()
.fullyQualifiedNamespace(azureConfig.namespaceName)
.eventHubName(azureConfig.namespaceName)
.eventHubName(azureConfig.eventHubName)
.consumerGroup(EventHubClientBuilder.DEFAULT_CONSUMER_GROUP_NAME)
.processEvent(PARTITION_PROCESSOR)
.processError(ERROR_HANDLER)
Expand Down

0 comments on commit 5cb1f1c

Please sign in to comment.