Skip to content

Commit

Permalink
Add 'record' prefix to key.evaluator and value.evaluator parameters
Browse files Browse the repository at this point in the history
  • Loading branch information
gfinocchiaro committed Mar 6, 2024
1 parent 8aa981d commit 5ecb7bc
Show file tree
Hide file tree
Showing 17 changed files with 132 additions and 437 deletions.
4 changes: 2 additions & 2 deletions examples/quickstart-confluent-cloud/adapters.xml
Original file line number Diff line number Diff line change
Expand Up @@ -29,8 +29,8 @@

<!-- Record consumption settings -->
<param name="record.consume.from">EARLIEST</param>
<param name="key.evaluator.type">INTEGER</param>
<param name="value.evaluator.type">JSON</param>
<param name="record.key.evaluator.type">INTEGER</param>
<param name="record.value.evaluator.type">JSON</param>

<!-- Fields mapping settings -->
<param name="field.ts">#{TIMESTAMP}</param>
Expand Down
6 changes: 3 additions & 3 deletions examples/quickstart-schema-registry/adapters.xml
Original file line number Diff line number Diff line change
Expand Up @@ -29,9 +29,9 @@

<!-- Record consumption settings -->
<param name="record.consume.from">EARLIEST</param>
<param name="key.evaluator.type">INTEGER</param>
<param name="value.evaluator.type">JSON</param>
<param name="value.evaluator.schema.registry.enable">true</param>
<param name="record.key.evaluator.type">INTEGER</param>
<param name="record.value.evaluator.type">JSON</param>
<param name="record.value.evaluator.schema.registry.enable">true</param>

<!-- Schema Registry settings -->
<param name="schema.registry.url">https://schema-registry:8084</param>
Expand Down
4 changes: 2 additions & 2 deletions examples/quickstart-ssl/adapters.xml
Original file line number Diff line number Diff line change
Expand Up @@ -29,8 +29,8 @@

<!-- Record consumption settings -->
<param name="record.consume.from">EARLIEST</param>
<param name="key.evaluator.type">INTEGER</param>
<param name="value.evaluator.type">JSON</param>
<param name="record.key.evaluator.type">INTEGER</param>
<param name="record.value.evaluator.type">JSON</param>

<!-- Fields mapping settings -->
<param name="field.ts">#{TIMESTAMP}</param>
Expand Down
180 changes: 0 additions & 180 deletions kafka-connector/src/connector/dist/adapters.bcp.xml

This file was deleted.

8 changes: 4 additions & 4 deletions kafka-connector/src/connector/dist/adapters.xml
Original file line number Diff line number Diff line change
Expand Up @@ -95,8 +95,8 @@
- UUID
Default: STRING -->
<!--
<param name="key.evaluator.type">JSON</param>
<param name="value.evaluator.type">JSON</param>
<param name="record.key.evaluator.type">JSON</param>
<param name="record.value.evaluator.type">JSON</param>
-->

<!-- TOPIC MAPPING SECTION -->
Expand All @@ -117,8 +117,8 @@
<!-- Map the Kafka topic "stocks" to the previous defined "stock" item template. -->
<param name="map.stocks.to">item-template.stock</param>

<param name="key.evaluator.type">INTEGER</param>
<param name="value.evaluator.type">JSON</param>
<param name="record.key.evaluator.type">INTEGER</param>
<param name="record.value.evaluator.type">JSON</param>
<param name="record.consume.from">EARLIEST</param>

<!-- FIELDS MAPPING SECTION -->
Expand Down
16 changes: 0 additions & 16 deletions kafka-connector/src/connector/dist/user-key.avsc

This file was deleted.

110 changes: 0 additions & 110 deletions kafka-connector/src/connector/dist/user-value.avsc

This file was deleted.

Loading

0 comments on commit 5ecb7bc

Please sign in to comment.