void function ( String arg0 , String arg1 ) { TopicName loc0 = TopicName . create ( arg0 , arg1 ) ; Publisher loc1 = Publisher . defaultBuilder ( loc0 ) . build ( ) ; try { } finally { loc1 . shutdown ( ) ; } }
example of creating a publisher . concode_field_sep Publisher publisher concode_field_sep Publisher createPublisherWithCustomCredentials concode_elem_sep Publisher getPublisherWithCustomRetrySettings concode_elem_sep ApiFuture<String> publish concode_elem_sep Publisher getSingleThreadedPublisher concode_elem_sep Publisher getPublisherWithCustomBatchSettings