Unable to connect to the eventhub

Open
#918 3 comments 0 reactions 0 assignees View on GitHub

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

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.

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

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

More from MicrosoftDocs/azure-docs-sdk-java

All issues in MicrosoftDocs/azure-docs-sdk-java

Similar issues

More Python issues

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.