# Function createEventBusBridge

- createEventBusBridge(options: EventBusBridgeOptions): PipelineBridgeResult

  Creates a bridge that forwards V2 pipeline events to the V1 agent EventBus.

  Each V2 event is converted to a V1 DomainEvent with:

  - topic: `{prefix}.{v2EventType}` (e.g. `pipeline.task.created`)
  - payload: all V2 event fields except type/timestamp
  - correlationId: executionId or taskId from V2 event

  The bridge is fire-and-forget: forwarding errors are logged, not thrown.

  #### Parameters

  - options: EventBusBridgeOptions

  #### Returns PipelineBridgeResult

  - Defined in packages/nexus-agents/src/pipeline/event-bus-bridge.ts:85