code: public void publishEvents(String topicHostname, List<EventGridEvent> events) {
          publishEventsWithServiceResponseAsync(topicHostname, events).toBlocking().single().body();
      }
docs: Publishes a batch of events to an Azure Event Grid topic.
  
  @param topicHostname The host name of the topic, e.g. topic1.westus2-1.eventgrid.azure.net
  @param events An array of events to be published to Event Grid.
  @throws IllegalArgumentException thrown if parameters fail the validation
  @throws CloudException thrown if the request is rejected by server
  @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent