Skip to content

Commit be54397

Browse files
authored
Update kafka types (#3199)
1 parent fad4beb commit be54397

File tree

4 files changed

+26
-2
lines changed

4 files changed

+26
-2
lines changed

packages/destination-actions/src/destinations/kafka/generated-types.ts

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

packages/destination-actions/src/destinations/kafka/index.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,7 @@ const destination: DestinationDefinition<Settings> = {
2929
mechanism: {
3030
label: 'Authentication Mechanism',
3131
description:
32-
"Select the Authentication Mechanism to use. For SCRAM or PLAIN populate the 'Username' and 'Password' fields. For AWS IAM populated the 'AWS Access Key ID' and 'AWS Secret Key' fields. For 'Client Certificate' populated the 'SSL Client Key' and 'SSL Client Certificate' fields",
32+
"Select the Authentication Mechanism to use. For SCRAM or PLAIN populate the 'Username' and 'Password' fields. For 'Client Certificate' populated the 'SSL Client Key' and 'SSL Client Certificate' fields",
3333
type: 'string',
3434
required: true,
3535
choices: [

packages/destination-actions/src/destinations/kafka/send/generated-types.ts

Lines changed: 8 additions & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

packages/destination-actions/src/destinations/kafka/send/index.ts

Lines changed: 16 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -42,6 +42,22 @@ const action: ActionDefinition<Settings, Payload> = {
4242
label: 'Message Key',
4343
description: 'The key for the message (optional)',
4444
type: 'string'
45+
},
46+
enable_batching: {
47+
type: 'boolean',
48+
label: 'Batch Data to Kafka?',
49+
description: 'If true, Segment will batch events before sending to Kafka.',
50+
default: true,
51+
unsafe_hidden: true
52+
},
53+
batch_keys: {
54+
label: 'Batch Keys',
55+
description: 'The keys to use for batching the events.',
56+
type: 'string',
57+
unsafe_hidden: true,
58+
required: false,
59+
multiple: true,
60+
default: ['partition', 'default_partition']
4561
}
4662
},
4763
dynamicFields: {

0 commit comments

Comments
 (0)