Azure-Samples / Iot-Telemetry-Simulator

The IoT Telemetry Simulator allows you to test Azure IoT Hub or Eventhub ingestion at scale. The implementation is communicating with Azure IoT Hub using multiplexed AMQP connections. An automation library allows you to run it as load test as part of a CI/CD pipeline.
MIT License
68 stars 48 forks source link

typo for utf8 of content encoding #4

Closed kenakamu closed 4 years ago

kenakamu commented 4 years ago

This issue is for a: (mark with an x)

- [x] bug report -> please search issues before submitting
- [ ] feature request
- [ ] documentation issue or request
- [ ] regression (a behavior that used to work and stopped in a new release)

Minimal steps to reproduce

Set up routing in IoT Hub Run the simulator and send telemetry to IoT Hub It won't be routed as expected.

To fix the issue, i need to change the value below from "utf8" to "utf-8" https://github.com/Azure-Samples/Iot-Telemetry-Simulator/blob/master/src/IotTelemetrySimulator/IotHubSender.cs#L12

TechPreacher commented 4 years ago

Hi! Thanks for bringing this up! I have changed the code accordingly. Thank you for your contribution!