DBZ-2282 added Event Hubs IT instructions to README, updated docs
This commit is contained in:
parent
ecdd55a493
commit
35d40f1524
@ -19,3 +19,34 @@ It is thus recommended to execute integration tests per-module and set-up necess
|
||||
* Create a new topic `gcloud pubsub topics create testc.inventory.customers`
|
||||
* Build the module and execute the tests `mvn clean install -DskipITs=false -am -pl debezium-server-pubsub`
|
||||
* Remove the topic `gcloud pubsub topics delete testc.inventory.customers`
|
||||
|
||||
## Azure Event Hubs
|
||||
|
||||
### Create an Event Hubs namespace
|
||||
|
||||
Create an [Event Hubs namespace](https://docs.microsoft.com/azure/event-hubs/event-hubs-features?WT.mc_id=debezium-docs-abhishgu#namespace). Check the documentation for options on how do this using the [Azure Portal](https://docs.microsoft.com/azure/event-hubs/event-hubs-create?WT.mc_id=debezium-docs-abhishgu#create-an-event-hubs-namespace), [Azure CLI](https://docs.microsoft.com/azure/event-hubs/event-hubs-quickstart-cli?WT.mc_id=debezium-docs-abhishgu#create-an-event-hubs-namespace) etc.
|
||||
|
||||
### Create an Event Hub
|
||||
|
||||
Create an Event Hub (equivalent to a topic). Check the documentation for options on how do this using the [Azure Portal](https://docs.microsoft.com/azure/event-hubs/event-hubs-create?WT.mc_id=debezium-docs-abhishgu#create-an-event-hub), [Azure CLI](https://docs.microsoft.com/azure/event-hubs/event-hubs-quickstart-cli?WT.mc_id=debezium-docs-abhishgu#create-an-event-hub) etc.
|
||||
|
||||
### Build the module
|
||||
|
||||
[Get the Connection string](https://docs.microsoft.com/azure/event-hubs/event-hubs-get-connection-string?WT.mc_id=debezium-docs-abhishgu) required to communicate with Event Hubs. The format is: `Endpoint=sb://<NAMESPACE>/;SharedAccessKeyName=<ACCESS_KEY_NAME>;SharedAccessKey=<ACCESS_KEY_VALUE>`
|
||||
|
||||
Set environment variables required for tests:
|
||||
|
||||
```shell
|
||||
export EVENTHUBS_CONNECTION_STRING=<Event Hubs connection string>
|
||||
export EVENTHUBS_NAME=<name of the Event hub created in previous step>
|
||||
```
|
||||
|
||||
Execute the tests:
|
||||
|
||||
```shell
|
||||
mvn clean install -DskipITs=false -Deventhubs.connection.string=$EVENTHUBS_CONNECTION_STRING -Deventhubs.hub.name=$EVENTHUBS_NAME -am -pl debezium-server-eventhubs
|
||||
```
|
||||
|
||||
### Clean up
|
||||
|
||||
Delete the Event Hubs namespace
|
@ -459,7 +459,7 @@ https://docs.microsoft.com/azure/event-hubs/event-hubs-about?WT.mc_id=debezium-d
|
||||
|
||||
|[[connection-string]]<<connection-string, `debezium.sink.eventhubs.connectionstring`>>
|
||||
|
|
||||
|https://docs.microsoft.com/azure/event-hubs/event-hubs-get-connection-string?WT.mc_id=debezium-docs-abhishgu[Connection string] required to communicate with Event Hubs. The format is: `Endpoint=sb://<NAMESPACE>/;SharedAccessKeyName=<KEY_NAME>;SharedAccessKey=<ACCESS_KEY>;EntityPath=<HUB_NAME>`. Please note that you will need to append the name of the Event Hub using `EntityPath`).
|
||||
|https://docs.microsoft.com/azure/event-hubs/event-hubs-get-connection-string?WT.mc_id=debezium-docs-abhishgu[Connection string] required to communicate with Event Hubs. The format is: `Endpoint=sb://<NAMESPACE>/;SharedAccessKeyName=<ACCESS_KEY_NAME>;SharedAccessKey=<ACCESS_KEY_VALUE>`
|
||||
|
||||
|[[hub-name]]<<hub-name, `debezium.sink.eventhubs.hubname`>>
|
||||
|
|
||||
|
Loading…
Reference in New Issue
Block a user