Skip to content

Conversation

@conniey
Copy link
Member

@conniey conniey commented Aug 13, 2019

This is the second part of a few PRs for supporting synchronous APIs in Event Hubs. This PR:

  • Adds synchronous APIs for EventHubClient and EventHubProducer.
  • Adds codesnippets for associated classes.
  • Removes overlapping codesnippet scenarios.
  • Fixes naming convention for codesnippets to match the Java guidelines.

In Progress

  • Adding tests

Proposal: Event Hubs: Synchronous APIs

@conniey conniey added Event Hubs Client This issue points to a problem in the data-plane of the library. labels Aug 13, 2019
@conniey conniey requested a review from mssfang as a code owner August 13, 2019 17:57
@conniey conniey self-assigned this Aug 13, 2019
Copy link
Member

@srnagar srnagar left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Just change IterableResponse to IterableStream before merging.

@conniey conniey merged commit 7d24f9a into Azure:master Aug 14, 2019
@conniey conniey deleted the synchronous-client branch August 14, 2019 20:19
pull bot pushed a commit to test-repo-billy/azure-sdk-for-java that referenced this pull request Aug 14, 2019
* Formatting changes in EventHubAsyncProducer.

* Adding EventHubClient, EventHubConsumer, and EventHubProducer.

* Exposing EventHubClient creation in EventHubClientBuilder.

* EventHubClient, Consumer and Producer implements Closeable.

* Fixing sample by removing event hub instance from namespace connection string.

* Remove unneeded sample in EventHubClientBuilder.

* Add EventHubClient to builder annotation.

* Update EventHubClientBuilder samples. Remove unneeded ones.

* Update samples in EventHubClientBuilder.

* Fixing links to EventHubAsyncProducer samples.

* Adding EventHubProducer code samples.

* Update from Iterable to IterableResponse.

* Make test contents package-private.

* Adding tests for EventHubProducer.

* Simplifying creation of EventHubAsyncProducer

* Select correct retryDuration when constructing EventHubProducer.

* Adding EventHubProducer tests.

* Rename EventHubClientIntegrationTest -> EventHubAsyncClientIntegrationTests

* Add integration tests for EventHubClient.

* Make EventHubConsumer methods public
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Client This issue points to a problem in the data-plane of the library. Event Hubs

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants