Skip to main content
Version: Next

HttpPostIngressEventPublisher.fromConfig()

Home > @backstage/plugin-events-backend > HttpPostIngressEventPublisher > fromConfig

Signature:

static fromConfig(env: {
config: Config;
events: EventsService;
ingresses?: {
[topic: string]: Omit<HttpPostIngressOptions, 'topic'>;
};
bodyParsers?: {
[contentType: string]: HttpBodyParser;
};
logger: LoggerService;
}): HttpPostIngressEventPublisher;

Parameters

Parameter

Type

Description

env

{ config: Config; events: EventsService; ingresses?: { [topic: string]: Omit<HttpPostIngressOptions, 'topic'>; }; bodyParsers?: { [contentType: string]: HttpBodyParser; }; logger: LoggerService; }

**Returns:**

HttpPostIngressEventPublisher