Unable to connect to the eventhub
Nobody has claimed this yet.
Assessment
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Newbie friendliness
- 35/100
- Issue type
- Documentation
- Clarity
- Needs clarification
- Activity status
- Stale
- Tech stack
- azure, java, kafka, spring-boot
- Domain
- cloud, documentation
Research direction
Start with docs-ref-conceptual/spring-framework/configure-spring-cloud-stream-binder-java-app-kafka-azure-event-hub.md and the linked Azure Event Hubs guide. Reproduce the documented build or startup flow and trace the missing subscriptionId configuration. Done means identifying whether the instructions omit required setup and updating or clarifying the source document accordingly.
Written by the indexing model from the issue text.
Description
Followed the instructions on this document, unable to build or start the application. Getting the below error,
Exception encountered during context initialization - cancelling refresh attempt: org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'azureAdmin' defined in class path resource [com/microsoft/azure/spring/cloud/autoconfigure/context/AzureContextAutoConfiguration.class]: Bean instantiation via factory method failed; nested exception is org.springframework.beans.BeanInstantiationException: Failed to instantiate [com.microsoft.azure.spring.cloud.context.core.impl.AzureAdmin]: Factory method 'azureAdmin' threw exception; nested exception is java.lang.IllegalArgumentException: Parameter this.client.subscriptionId() is required and cannot be null.
Document Details
⚠ Do not edit this section. It is required for docs.microsoft.com ➟ GitHub issue linking.
- ID: 7bb8bc1e-65b0-f895-942c-cb3aec127f85
- Version Independent ID: 9f3d829e-8288-5a80-fd9f-ba51fbb52590
- Content: How to use the Spring Boot Starter for Apache Kafka with Azure Event Hubs
- Content Source: docs-ref-conceptual/spring-framework/configure-spring-cloud-stream-binder-java-app-kafka-azure-event-hub.md
- Service: event-hubs
- GitHub Login: @rmcmurray
- Microsoft Alias: robmcm
- Dominant language
- Python
- Stars
- 66
- Forks
- 284
- Avg merge
- 4m
- Merged PRs (30d)
- 1
Contributor guide
No contributing guide indexed for this repository
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
More from MicrosoftDocs/azure-docs-sdk-java
-
Difficulty 2/5 1-3 hours Newbie friendliness 62/100
-
Difficulty 1/5 Under an hour Newbie friendliness 72/100
-
ayeddd Open
Difficulty 5/5 Over a week Newbie friendliness 5/100
MicrosoftDocs/azure-docs-sdk-java#2657 · 1 reaction ·
-
Ref docs issue Open
Difficulty 2/5 1-3 hours Newbie friendliness 35/100
MicrosoftDocs/azure-docs-sdk-java#2606 ·
-
Difficulty 4/5 3-5 days Newbie friendliness 28/100
MicrosoftDocs/azure-docs-sdk-java#2133 ·
All issues in MicrosoftDocs/azure-docs-sdk-java
Similar issues
-
Difficulty 2/5 1-3 hours Newbie friendliness 88/100
-
Difficulty 2/5 1-3 hours Newbie friendliness 82/100
-
Difficulty 2/5 1-3 hours Newbie friendliness 78/100
-
enhancement
Difficulty 2/5 1-3 hours Newbie friendliness 72/100
-
Difficulty 2/5 1-3 hours Newbie friendliness 74/100