Skip to content

Commit

Permalink
Merging dev branch changes to master for 1.0.1 release. (#148)
Browse files Browse the repository at this point in the history
* Bumping up client version to 1.0.1 (#107)

* Fixing build break introduced with preview check-in.

* Bumping up the client version to 1.0.1

* Adding 2 new epoch unit tests (#108)

* Fixing build break introduced with preview check-in.

* Adding 2 new epoch receiver unit tests.

* Update readme.md (#110)

Fixed broken links.

* Deliver receiver disconnected exception to client (#109)

* Fixing build break introduced with preview check-in.

* + PartitionPump to deliver ReceiverDisconnectedException to processor host.
+ Don't look for ReceiverDisconnectedException while creating the receiver since CreateReceiver doesn't throw it.

* Adding unit test covering ReceiverDisconnectedException handling due to higher epoch receiver.

* Bumping up EPH client version to 1.0.1 on dev branch (#118)

* Fixing build break introduced with preview check-in.

* Bumping up EPH client version to 1.0.1 on dev branch

* Keeping sample readmes in sync with docs.microsoft.com

* Fix invoke processor after receive timeout behavior (#124)

* Update readme.md (#110)

Fixed broken links.

* EPH to deliver Enumerable.Empty instead of NULL when EventProcessorOptions.InvokeProcessorAfterReceiveTimeout is set

* Small refactoring to honor positive check.

* Amqp create link should honor time left (#128)

* Update readme.md (#110)

Fixed broken links.

* AmqpSender and AmqpReceiver should honor tile left while creating AMQP link.

* Remove unnecessary variable.

* Receive handler should failfast on unhandled exception (#127)

* Update readme.md (#110)

Fixed broken links.

* ReceiveHandler should failfast when an unhandled exception detected.
Adding a unit test to cover error handling and recovery for EPH.

* Remove unintentional internal modifier.

* Trace receive handler exit w/ error.

* Receive should not throw timeout exception (#130)

* Update readme.md (#110)

Fixed broken links.

* ReceiveAsync call should return NULL instead of throwing System.TimeoutException

* Unregister receive handler fix (#135)

* Update readme.md (#110)

Fixed broken links.

* Unregistering receive handler shouldn't generate OperationCanceledException

* Removing .Fork() comment

* Remove ActiveClientManager from service client (#136)

* Update readme.md (#110)

Fixed broken links.

* Code cleanup: Removing ActiveLinkManager from AmqpServiceClient

* Fix empty lease race issue (#141)

* Update readme.md (#110)

Fixed broken links.

* Handle race condition where downloaded empty-lease might be already LEASED by some other host.

* Remove lease object from LeaseLostException (#143)

* Remove Lease object from LeaseLostException

* Use partition id from context.

* ProcessorHost to close on ReceiverDisconnectedException (#137)

* Update readme.md (#110)

Fixed broken links.

* Fault partition pump on ReceiverDisconnectedException only.

* Moving samples to the azure-event-hubs repo (#142)

* Moving samples to the azure-event-hubs repo

* Fixes

* EPH lease manager and checkpointing fixes and improvements (#117)

* Fixing build break introduced with preview check-in.

* Here is the list of the changes:
+ Moving Offset and SequenceNumbre to base class Lease.cs
+ AzureStorageCheckpointLeaseManager.cs to stop downloading lease at every checkpoint call. This was causing 2 hosts operating on the same lease for a while.
+ Set MaximumExecutionTime on renewRequestOptions used while renewing storage lease.
+ Throw LeaseLostException when lease is lost on operations like Renew and Update.
+ Updating interface ICheckpointManager to accept Lease while updating checkpoint.
+ Some Linq improvements at lease steal and balancing logics.
+ Updating multiple-hosts unit test to validate load balancing.

* Set PartitionContext's SequenceNumber and Offset only before delivering the messages to the handler.

* CheckpointAsync(EventData eventData) should not allow checkpointing if the suplied eventData is ahead of processed batch.

* Add unit test to cover checkpointing messages in the middle of a batch.

* Marking ICheckpointManager.UpdateCheckpointAsync(Checkpoint checkpoint) as obsolute

* Fix: ReceiveHandler and PartitionPump should gracefully handle exceptions thrown at ProcessError callbacks.
Adding a CIT to cover error cases in EPH.

* HostShouldRecoverWhenProcessProcessEventsAsyncThrows unit test to unregister host at the end.

* Cancelling swallow and trace change in ReceiveHandlerProcessErrorAsync(Exception error)

* Remove unnecessary ExceptionHandled trace from EventSource.

* + Removing Obsolete signature from ICheckpointManager.
+ TaskContinuationOptions.OnlyOnRanToCompletion while persisting lease.

* Adding Obsolete ICheckpointManager.UpdateCheckpointAsync(Checkpoint checkpoint) back

* Avoid TaskCancelledException from ContinueWith when blob call fails due to lease lost. (#145)

* Update global.json (#147)

Specifying .net core version for Appveyor build

* Bumping up the Storage version to 8.1.1 (#149)
  • Loading branch information
serkantkaraca authored Mar 23, 2017
1 parent 81f4b70 commit 007b193
Show file tree
Hide file tree
Showing 35 changed files with 798 additions and 1,013 deletions.
6 changes: 0 additions & 6 deletions Microsoft.Azure.EventHubs.sln
Original file line number Diff line number Diff line change
Expand Up @@ -20,12 +20,6 @@ Project("{8BB2217D-0F2D-49D1-97BC-3654ED321F3B}") = "Microsoft.Azure.EventHubs.P
EndProject
Project("{8BB2217D-0F2D-49D1-97BC-3654ED321F3B}") = "Microsoft.Azure.EventHubs.Processor.UnitTests", "test\Microsoft.Azure.EventHubs.Processor.UnitTests\Microsoft.Azure.EventHubs.Processor.UnitTests.xproj", "{F7F892F4-4490-4BC9-BB18-F42F2C85E345}"
EndProject
Project("{2150E333-8FDC-42A3-9474-1A3956D46DE8}") = "samples", "samples", "{188550D8-80F0-410D-AECA-BC3C1F96CF95}"
EndProject
Project("{8BB2217D-0F2D-49D1-97BC-3654ED321F3B}") = "SampleSender", "samples\SampleSender\SampleSender.xproj", "{940BCA4A-B154-4667-8A03-57E6B689866D}"
EndProject
Project("{8BB2217D-0F2D-49D1-97BC-3654ED321F3B}") = "SampleEphReceiver", "samples\SampleEphReceiver\SampleEphReceiver.xproj", "{679DFCC5-76BD-4725-A51E-AFBB01565401}"
EndProject
Global
GlobalSection(SolutionConfigurationPlatforms) = preSolution
Debug|Any CPU = Debug|Any CPU
Expand Down
7 changes: 5 additions & 2 deletions global.json
Original file line number Diff line number Diff line change
@@ -1,3 +1,6 @@
{
"projects": [ "src", "test" ]
{
"projects": ["src", "test"],
"sdk": {
"version": "1.0.0-preview2-003121"
}
}
6 changes: 3 additions & 3 deletions readme.md
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
<p align="center">
<p align="center">
<img src="event-hubs.png" alt="Microsoft Azure Event Hubs" width="100"/>
</p>

Expand Down Expand Up @@ -39,9 +39,9 @@ consumers that filter and/or transform event streams and then forward them on to

### Getting Started

To get started sending events to an Event Hub refer to [Get started sending messages to Event Hubs in .NET Core](./samples/SampleSender/readme.md).
To get started sending events to an Event Hub refer to [Get started sending messages to Event Hubs in .NET Core](https://github.com/Azure/azure-event-hubs/tree/master/samples/SampleSender).

To get started receiving events with the **EventProcessorHost** refer to [Get started receiving messages with the EventProcessorHost in .NET Core](./samples/SampleEphReceiver/readme.md ).
To get started receiving events with the **EventProcessorHost** refer to [Get started receiving messages with the EventProcessorHost in .NET Core](https://github.com/Azure/azure-event-hubs/tree/master/samples/SampleEphReceiver).

### Running the unit tests

Expand Down
47 changes: 0 additions & 47 deletions samples/SampleEphReceiver/Program.cs

This file was deleted.

21 changes: 0 additions & 21 deletions samples/SampleEphReceiver/Properties/AssemblyInfo.cs

This file was deleted.

21 changes: 0 additions & 21 deletions samples/SampleEphReceiver/SampleEphReceiver.xproj

This file was deleted.

44 changes: 0 additions & 44 deletions samples/SampleEphReceiver/SimpleEventProcessor.cs

This file was deleted.

30 changes: 0 additions & 30 deletions samples/SampleEphReceiver/project.json

This file was deleted.

Loading

0 comments on commit 007b193

Please sign in to comment.