You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: pkg/cloudevents/README.md
-26Lines changed: 0 additions & 26 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -116,7 +116,6 @@ Currently, the CloudEvents options supports the following protocols/drivers:
116
116
117
117
-[MQTT Protocol/Driver](./generic/options/mqtt)
118
118
-[gRPC Protocol/Driver](./generic/options/grpc)
119
-
-[Kafka Protocol/Driver](./generic/options/kafka)
120
119
121
120
To create CloudEvents source/agent options for these supported protocols/drivers, developers need to provide configuration specific to the protocol/driver. The configuration format resembles the kubeconfig for the Kubernetes client-go but has a different schema.
For detailed configuration options for the gRPC driver, refer to the [gRPC driver options package](https://github.com/open-cluster-management-io/sdk-go/blob/00a94671ced1c17d2ca2b5fad2f4baab282a7d3c/pkg/cloudevents/generic/options/grpc/options.go#L30-L40).
150
149
151
-
### Kafka Protocol/Driver
152
-
153
-
Kafka Protocol/Drive is not enabled by default. To enable it, add the `-tags=kafka` flag before the build.
154
-
155
-
Here’s a sample configuration for Kafka in YAML:
156
-
157
-
```yaml
158
-
bootstrapServer: kafka.example.com:9092
159
-
caFile: /certs/ca.crt
160
-
clientCertFile: /certs/client.crt
161
-
clientKeyFile: /certs/client.key
162
-
```
163
-
164
-
For detailed configuration options for the Kafka driver, refer to the [Kafka driver options package](./generic/options/kafka/options.go). You can also add advanced configurations supported by librdkafka. For instance, to set the maximum Kafka protocol request message size to 200,000 bytes, use the following configuration in YAML:
165
-
166
-
```yaml
167
-
bootstrapServer: kafka.example.com:9092
168
-
caFile: /certs/ca.crt
169
-
clientCertFile: /certs/client.crt
170
-
clientKeyFile: /certs/client.key
171
-
message.copy.max.bytes: 200000
172
-
```
173
-
174
-
For the complete list of supported configurations, refer to the [librdkafka documentation](https://github.com/confluentinc/librdkafka/blob/master/CONFIGURATION.md).
175
-
176
150
## Work Clients
177
151
178
152
### Building a ManifestWorkSourceClient on the hub cluster with SourceLocalWatcherStore
Copy file name to clipboardExpand all lines: pkg/cloudevents/doc/design.md
+1-4Lines changed: 1 addition & 4 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -16,7 +16,7 @@ The [`CloudEventsOptions`](../generic/options/options.go) interface defines an o
16
16
For each event protocol, it needs to implement the `CloudEventsSourceOptions` and `CloudEventsAgentOptions`, the
17
17
`CloudEventsSourceOptions` will be used for building cloudevents source client and the `CloudEventsAgentOptions` will be used for building cloudevents agent client.
18
18
19
-
Currently, the MQTT, Kafka and gRPC are implemented.
0 commit comments