EventProcessorHost Class

Represents a host for processing Event Hubs event data at scale. Takes in an event hub, a event processor class definition, a config object, as well as a storage manager and optional event processor params (ep_params).

Inheritance
builtins.object
EventProcessorHost

Constructor

EventProcessorHost(event_processor, eh_config, storage_manager, ep_params=None, eph_options=None, loop=None)

Parameters

event_processor
eh_config
storage_manager
ep_params
default value: None
eph_options
default value: None
loop
default value: None

Methods

close_async

Stops the host.

open_async

Starts the host.

close_async

Stops the host.

async close_async()

open_async

Starts the host.

async open_async()