Initializes the Publisher API.
The caller of the Publisher API may have to perform activities that need to occur before the Publisher API shuts down. The Publisher API invokes this callback function to notify the caller that a request to shut down has been received. The caller must perform the necessary activities and then invoke the publisher's shutdown API.