Add Apache Kafka node (#1109)

*  Add Apache Kafka node

*  Improvements

Co-authored-by: Tanay Pant <tanaypant@protonmail.com>
This commit is contained in:
Ricardo Espinoza
2020-10-29 10:42:54 -04:00
committed by GitHub
parent 0f0dfa2191
commit 12bb00fcd6
5 changed files with 351 additions and 0 deletions

View File

@@ -0,0 +1,30 @@
import {
ICredentialType,
NodePropertyTypes,
} from 'n8n-workflow';
export class Kafka implements ICredentialType {
name = 'kafka';
displayName = 'Kafka';
documentationUrl = 'kafka';
properties = [
{
displayName: 'Client ID',
name: 'clientId',
type: 'string' as NodePropertyTypes,
default: '',
},
{
displayName: 'Brokers',
name: 'brokers',
type: 'string' as NodePropertyTypes,
default: '',
},
{
displayName: 'SSL',
name: 'ssl',
type: 'boolean' as NodePropertyTypes,
default: true,
},
];
}