Skip to content

Commit

Permalink
Update readme.md with necessary Manage SAS (Azure#186)
Browse files Browse the repository at this point in the history
EventProcessorHost crashes when Shared Access Policy has no Manage permissions. The manage permissions are needed to request PartitionIds
  • Loading branch information
sjoerdsmink authored and hmlam committed Jul 14, 2016
1 parent c0c40b3 commit 5d8bab2
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion java/azure-eventhubs-eph/Readme.md
Original file line number Diff line number Diff line change
Expand Up @@ -110,7 +110,7 @@ notification is primarily informational.
###Step 3: Instantiate EventProcessorHost

In order to do this, the user will first need to build a connection string for the Event Hub. This may be conveniently done using
the ConnectionStringBuilder class provided by the Java client for Azure Event Hubs.
the ConnectionStringBuilder class provided by the Java client for Azure Event Hubs. Make sure the sasKey has listen as well as manage permissions; the manage permissions are needed to request the partitions.

The EventProcessorHost class itself has four constructors. All of them require the path to the Event Hub, the name of the consumer
group to receive from, and the connection string for the Event Hub. The most basic constructor also requires an Azure Storage
Expand Down

0 comments on commit 5d8bab2

Please sign in to comment.