Connect - Connector Flashcards

1
Q

Connect: labels or annotations

A

annotation

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
2
Q

Connector: labels or annotations

A

labels

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
3
Q

Debezium: label or annotation

A

labels

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
4
Q

Transformation: labels or annotation

A

labels

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
5
Q

Connect annotations

A

annotations:
___strimzi.io/use-connector-resources: ‘true’

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
6
Q

Connect abbreviation

A

bbc virtual reality

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
7
Q

Expand bbc virtual reality

A

Elements of connect spec:

build
bootstrapServer
config
version
replicas

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
8
Q

Connect’s build element

A

build:
___output:
____ image: ‘quay.io/USERNAME/filewatch-:latest’
____ pushSecret: filewatch-connect-push-secret
____ type: docker
___plugins:
____ - artifacts:
_____ - type: tgz
_____ url: https://repo1.maven.org/maven2/or.gz
____ name: filewatch-source-connector

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
9
Q

Connect config

A

config. storage.topic: filewatch-connect-cluster-configs
offset. storage.topic: filewatch-connect-cluster-offsets
status. storage.topic: filewatch-connect-cluster-status
key. converter: org.apache.kafka.connect.storage.StringConverter
value. converter: org.apache.kafka.connect.storage.StringConverter
config. storage.replication.factor: 1
offset. storage.replication.factor: 1
status. storage.replication.factor: 1

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
10
Q

Connector abreviation

A

cct

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
11
Q

Expand cct

A

class
config
taskMax

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
12
Q

File source complete connector

A
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
13
Q

Create connector from CLI

A

curl -X POST \

http: //localhost:8083/connectors \
- H ‘Content-Type: application/json’ \
- d ‘{ “name”: “connector-name”, “config”: {}}’

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
14
Q

Config elements for creating connector from CLI

A

“connector.class”: “‘$connector_class’”,

“tasks.max”: “1”,

“topics”: “github-events”,

“camel.sink.endpoint.hostAddresses”: “elasticsearch-es-http:9200”,

“camel.sink.endpoint.indexName”: “github_events”,

“camel.sink.endpoint.operation”: “Index”,

“camel.sink.path.clusterName”: “elasticsearch”,

“key.converter”: “org.apache.kafka.connect.storage.StringConverter”,

“value.converter”: “org.apache.kafka.connect.storage.StringConverter”

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
15
Q

Spec of camel github soucrce connector

A
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
16
Q

Debezium connector

A
17
Q

Connector transform fields

A

transforms: Mask,Insert
transforms. Mask.type: org.apache.kafka.connect.transforms.MaskField$Value
transforms. Mask.fields: ssn
transforms. Insert.type: org.apache.kafka.connect.transforms.InsertField$Value
transforms. Insert.static.field: data-source
transforms. Insert.static.value: database

18
Q

JDBC Connector

A
19
Q

Event router transform

A

transforms: EventRouter
transforms. EventRouter.type: io.debezium.transforms.outbox.EventRouter
transforms. EventRouter.table.fields.additional.placement: type:header:eventType
transforms. EventRouter.route.topic.replacement: ${routedByValue}.events

20
Q

Standard JDBC connector config elements

A

database. hostname: postgresql-repair-requests
database. port: 5432
database. user: postgres
database. password: postgres
database. dbname: waterleakdb
database. server.name: waterleakdb1

21
Q

Alternative to bbc vr

A

bic vr

22
Q

Expand bic vr

A

build

image

config

version

replica

23
Q

Standard config elements for connect

A

config. storage.topic: my-connect-cluster-configs
offset. storage.topic: my-connect-cluster-offsets
status. storage.topic: my-connect-cluster-status
key. converter: org.apache.kafka.connect.storage.StringConverter
value. converter: org.apache.kafka.connect.storage.StringConverter
config. storage.replication.factor: 1
offset. storage.replication.factor: 1
status. storage.replication.factor: 1