Applications publishing events need to call a simple publisher. The publisher will "tell" the application if someone wants the event or not, for example, an update of the item master table. Unwanted events are not sent to the Event Hub.
If someone wants the event, then the application needs to create an event containing application specific data. The event is then posted to the Event Hub. The publisher is typically called within the database layer of an application.