Skip to content

Commit

Permalink
Cassandra Sink: set 2 resource units in all the examples (LangStream#342
Browse files Browse the repository at this point in the history
)
  • Loading branch information
eolivelli committed Sep 5, 2023
1 parent 87c343c commit 6f2adcc
Show file tree
Hide file tree
Showing 4 changed files with 8 additions and 0 deletions.
2 changes: 2 additions & 0 deletions examples/applications/kafka-connect/pipeline.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -22,6 +22,8 @@ pipeline:
- name: "Write to Cassandra"
type: "sink"
input: "input-topic"
resources:
size: 2
configuration:
connector.class: com.datastax.oss.kafka.sink.CassandraSinkConnector
key.converter: org.apache.kafka.connect.storage.StringConverter
Expand Down
2 changes: 2 additions & 0 deletions examples/applications/text-processing/write-to-astra.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -22,6 +22,8 @@ pipeline:
- name: "Write to AstraDB"
type: "sink"
input: "chunks-topic"
resources:
size: 2
configuration:
connector.class: com.datastax.oss.kafka.sink.CassandraSinkConnector
key.converter: org.apache.kafka.connect.storage.StringConverter
Expand Down
2 changes: 2 additions & 0 deletions examples/applications/webcrawler-source/write-to-astra.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -22,6 +22,8 @@ pipeline:
- name: "Write to AstraDB"
type: "sink"
input: "chunks-topic"
resources:
size: 2
configuration:
connector.class: com.datastax.oss.kafka.sink.CassandraSinkConnector
key.converter: org.apache.kafka.connect.storage.StringConverter
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -24,6 +24,8 @@ pipeline:
- name: "Write to Cassandra"
type: "sink"
input: "TEST_TOPIC_C1"
resources:
size: 2
configuration:
connector.class: com.datastax.oss.kafka.sink.CassandraSinkConnector
key.converter: org.apache.kafka.connect.storage.StringConverter
Expand Down

0 comments on commit 6f2adcc

Please sign in to comment.