Azure / azure-event-hubs-c

C client library for Azure Event Hubs https://azure.microsoft.com/services/event-hubs
Other
7 stars 18 forks source link

Send request failing when trying to sending Avro serialized string #51

Open bhattmayur26 opened 5 years ago

bhattmayur26 commented 5 years ago

Hi

Getting below error when trying to send Avro serialised string to event hub. Same code works fine when I pass example string to EventData_CreateWithNewMemory((const unsigned char*)msgContent, msgLength) function.

eventhub_error_callback EVENTHUBCLIENT_AMQP_INIT_FAILURE Error: Time:Thu Aug 15 17:06:28 2019 File:/home/user/.conan/data/azure-event-hubs-c/0.11.0/user/testing/build/b3e5763fd959dd9b9d67066cbe456ec1e2e33bfe/source_subfolder/deps/azure-c-shared-utility/adapters/tlsio_openssl.c Func:tlsio_openssl_create Line:1174 Failed xio_create. Error: Time:Thu Aug 15 17:06:28 2019 File:/home/user/.conan/data/azure-event-hubs-c/0.11.0/user/testing/build/b3e5763fd959dd9b9d67066cbe456ec1e2e33bfe/source_subfolder/eventhub_client/src/eventhubclient_ll.c Func:initialize_uamqp_stack_common Line:545 TLS IO creation failed. Error: Time:Thu Aug 15 17:06:28 2019 File:/home/user/.conan/data/azure-event-hubs-c/0.11.0/user/testing/build/b3e5763fd959dd9b9d67066cbe456ec1e2e33bfe/source_subfolder/eventhub_client/src/eventhubclient_ll.c Func:initialize_uamqp_stack Line:709 Could Not Initialize Common AMQP Sender Stack.

Error: Time:Thu Aug 15 17:06:28 2019 File:/home/user/.conan/data/azure-event-hubs-c/0.11.0/user/testing/build/b3e5763fd959dd9b9d67066cbe456ec1e2e33bfe/source_subfolder/eventhub_client/src/eventhubclient_ll.c Func:EventHubClient_LL_DoWork Line:1755 Error initializing uAMPQ sender stack. Code:708 Status:0

I am using libserdes to serialize Avro message.

Thanks Kind Regards