Fix EventHubs samples warnings (#4844)
Co-authored-by: Anton Kolesnyk <antkmsft@users.noreply.github.com>
This commit is contained in:
Родитель
35ee073d91
Коммит
3391610edb
|
@ -26,6 +26,7 @@ int main()
|
|||
if (eventhubName == nullptr)
|
||||
{
|
||||
std::cerr << "Missing environment variable EVENTHUB_NAME" << std::endl;
|
||||
return 1;
|
||||
}
|
||||
|
||||
Azure::Messaging::EventHubs::ConsumerClient consumerClient(
|
||||
|
|
|
@ -27,6 +27,7 @@ int main()
|
|||
if (eventhubName == nullptr)
|
||||
{
|
||||
std::cerr << "Missing environment variable EVENTHUB_NAME" << std::endl;
|
||||
return 1;
|
||||
}
|
||||
|
||||
Azure::Messaging::EventHubs::ProducerClient producerClient(
|
||||
|
|
|
@ -27,6 +27,7 @@ int main()
|
|||
if (eventhubName == nullptr)
|
||||
{
|
||||
std::cerr << "Missing environment variable EVENTHUB_NAME" << std::endl;
|
||||
return 1;
|
||||
}
|
||||
|
||||
/* Create a sample EventHubs application using a PartitionClient to read all the messages from an
|
||||
|
|
|
@ -27,6 +27,7 @@ int main()
|
|||
if (eventhubName == nullptr)
|
||||
{
|
||||
std::cerr << "Missing environment variable EVENTHUB_NAME" << std::endl;
|
||||
return 1;
|
||||
}
|
||||
|
||||
Azure::Messaging::EventHubs::ProducerClient producerClient(
|
||||
|
|
Загрузка…
Ссылка в новой задаче