-
Notifications
You must be signed in to change notification settings - Fork 3
/
CreateKDAKafkaToKafkaApp.json
61 lines (57 loc) · 1.99 KB
/
CreateKDAKafkaToKafkaApp.json
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
{
"ApplicationName": "meetupDemo1",
"ApplicationDescription": "Replicate from source to destination kafka topic",
"RuntimeEnvironment": "FLINK-1_8",
"ServiceExecutionRole": "arn:aws:iam::YOUR_AWS_ACCOUNT:role/YOUR_ROLE_NAME",
"ApplicationConfiguration": {
"ApplicationCodeConfiguration": {
"CodeContent": {
"S3ContentLocation": {
"BucketARN": "arn:aws:s3:::YOUR_BUCKET_NAME",
"FileKey": "SUB_FOLDER/kdfKafkaToKafka-1.2.jar"
}
},
"CodeContentType": "ZIPFILE"
},
"ApplicationSnapshotConfiguration": {
"SnapshotsEnabled": false
},
"FlinkApplicationConfiguration": {
"MonitoringConfiguration": {
"ConfigurationType": "CUSTOM",
"LogLevel": "INFO",
"MetricsLevel": "APPLICATION"
}
},
"EnvironmentProperties": {
"PropertyGroups": [
{
"PropertyGroupId": "KafkaSource",
"PropertyMap" : {
"bootstrap.servers" : "b-3.:9094,b-2.amazonaws.com:9094,b-1.amazonaws.com:9094",
"security.protocol" : "SSL",
"ssl.truststore.location" : "/usr/local/openjdk-8/jre/lib/security/cacerts",
"ssl.truststore.password": "changeit",
"topic": "sourcetopic"
}
},
{
"PropertyGroupId": "KafkaSink",
"PropertyMap" : {
"bootstrap.servers" : "b-3.:9094,b-2.amazonaws.com:9094,b-1.amazonaws.com:9094",
"security.protocol" : "SSL",
"ssl.truststore.location" : "/usr/local/openjdk-8/jre/lib/security/cacerts",
"ssl.truststore.password": "changeit",
"topic": "destinationtopic"
}
}
]
},
"VpcConfigurations": [
{
"SecurityGroupIds": [ "sg-123" ],
"SubnetIds": [ "subnet-123","subnet-234","subnet-456"]
}
]
}
}