mirror of https://github.com/knative/docs.git
update config elements for eventing channel and pingsource (#4453)
This commit is contained in:
parent
bf4c65d976
commit
82f917420a
|
@ -19,7 +19,7 @@ To use Kafka Channels, you must:
|
|||
name: kafka-channel
|
||||
namespace: knative-eventing
|
||||
data:
|
||||
channelTemplateSpec: |
|
||||
channel-template-spec: |
|
||||
apiVersion: messaging.knative.dev/v1beta1
|
||||
kind: KafkaChannel
|
||||
spec:
|
||||
|
|
|
@ -10,7 +10,7 @@ For the available parameters, see [PingSource reference](../../eventing/sources/
|
|||
In addition to the parameters that you can configure in the PingSource resource, there is a global ConfigMap called `config-ping-defaults`.
|
||||
This ConfigMap allows you to change the maximum amount of data that the PingSource adds to the CloudEvents it produces.
|
||||
|
||||
The `dataMaxSize` parameter allows you to set the maximum number of bytes allowed to be sent for a message excluding any base64 decoding. The default value, `-1`, sets no limit for data.
|
||||
The `data-max-size` parameter allows you to set the maximum number of bytes allowed to be sent for a message excluding any base64 decoding. The default value, `-1`, sets no limit for data.
|
||||
|
||||
```
|
||||
apiVersion: v1
|
||||
|
@ -19,7 +19,7 @@ metadata:
|
|||
name: config-ping-defaults
|
||||
namespace: knative-eventing
|
||||
data:
|
||||
dataMaxSize: -1
|
||||
data-max-size: -1
|
||||
```
|
||||
|
||||
You can edit this ConfigMap by running the command:
|
||||
|
|
|
@ -168,7 +168,7 @@ Follow the procedure for the Broker of your choice:
|
|||
name: imc-channel
|
||||
namespace: knative-eventing
|
||||
data:
|
||||
channelTemplateSpec: |
|
||||
channel-template-spec: |
|
||||
apiVersion: messaging.knative.dev/v1
|
||||
kind: InMemoryChannel
|
||||
---
|
||||
|
@ -178,7 +178,7 @@ Follow the procedure for the Broker of your choice:
|
|||
name: kafka-channel
|
||||
namespace: knative-eventing
|
||||
data:
|
||||
channelTemplateSpec: |
|
||||
channel-template-spec: |
|
||||
apiVersion: messaging.knative.dev/v1alpha1
|
||||
kind: KafkaChannel
|
||||
spec:
|
||||
|
|
|
@ -97,7 +97,7 @@ metadata:
|
|||
spec:
|
||||
config:
|
||||
config-br-default-channel:
|
||||
channelTemplateSpec: |
|
||||
channel-template-spec: |
|
||||
apiVersion: messaging.knative.dev/v1beta1
|
||||
kind: KafkaChannel
|
||||
spec:
|
||||
|
|
Loading…
Reference in New Issue