...
- numberOfPartitions: set to 2 in this example
- consumersGroup: Set the $Default in this example
eventHubCompatibleHostname: ihsuprodamres086dednamespace.servicebus.windows.net
eventHubCompatiblePath: iothub-ehub-delft-fews-3109254-e665c23b62
Shared Access Policies
...
- sharedAccessPolicyName: set to 2 in service. If a custom policy is used, make sure at least the Service connect permissing has been assigned to the policy.
- sharedAccessPolicyKey: Either the Primary Key or Secondary key can be used for that. It should be similar to: V86dqC3AhjIqSgvAuShKDSsNamUJh5rJrqZ1e3hw7EA=
Testing
To be able to send test messages to the Azure IoT Hub, a device has to be registered. See the following example of the Azure Portal where on the IoT device a device has been registered called "deltares-test-iot-device".
When looking at the details of a client registration, among others the Primary or Secondary connection string can be determined and used for testing.
There are different ways to test the import.
...