Skip to main content

KnativeBrokerPubSubParameters

@webda/cloudevents


Class: KnativeBrokerPubSubParameters

Defined in: cloudevents/src/services/knativebrokerpubsub.service.ts:9

Parameters of the KnativeBrokerPubSub

Extends​

  • ServiceParameters

Constructors​

Constructor​

new KnativeBrokerPubSubParameters(): KnativeBrokerPubSubParameters

Returns​

KnativeBrokerPubSubParameters

Inherited from​

ServiceParameters.constructor

Properties​

broker​

broker: string

Defined in: cloudevents/src/services/knativebrokerpubsub.service.ts:27

Name of the Broker, for the default brokerUrl

Default​

"default"

brokerUrl​

brokerUrl: string

Defined in: cloudevents/src/services/knativebrokerpubsub.service.ts:15

URL of the Broker ingress the events are posted to

Default​

"http://broker-ingress.knative-eventing.svc.cluster.local/${namespace}/${broker}"

headers​

headers: Record<string, string>

Defined in: cloudevents/src/services/knativebrokerpubsub.service.ts:33

Headers added to the requests to the Broker, like an Authorization

Default​

{}

namespace​

namespace: string

Defined in: cloudevents/src/services/knativebrokerpubsub.service.ts:21

Namespace of the Broker, for the default brokerUrl

Default​

"default"

receiver​

receiver: string

Defined in: cloudevents/src/services/knativebrokerpubsub.service.ts:48

Name of the Webda/CloudEventsReceiver service the consumers register on

A Knative Trigger on the Broker must deliver to its route (the Webda/KnativeDeployer triggers parameter creates it).

Default​

"CloudEventsReceiver"

timeout​

timeout: number

Defined in: cloudevents/src/services/knativebrokerpubsub.service.ts:39

Milliseconds before a request to the Broker is aborted

Default​

30000

type​

type: string

Defined in: core/lib/services/serviceparameters.d.ts:9

Type of the service

Inherited from​

ServiceParameters.type

Methods​

load()​

load(params?): this

Defined in: cloudevents/src/services/knativebrokerpubsub.service.ts:53

Parameters​

params?​

any = {}

Returns​

this

Overrides​

ServiceParameters.load


update()​

update(params, delta): this

Defined in: core/lib/application/parameters.d.ts:21

Update parameters and call watchers if a parameter was changed

Parameters​

params​

any

the service parameters

delta​

any

the delta

Returns​

this

this for chaining

Inherited from​

ServiceParameters.update


with()​

with(callback): this

Defined in: core/lib/application/parameters.d.ts:27

Watch for changes on the parameters and call watchers when a parameter is changed

Parameters​

callback​

(params) => void

the callback function

Returns​

this

this for chaining

Inherited from​

ServiceParameters.with