Created
November 24, 2020 12:28
-
-
Save afedulov/83ae360b0bbc2a0168bcf093cd2400b5 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
{ | |
"name": "adtech", | |
"config": { | |
"connector.class": "io.mdrogalis.voluble.VolubleSourceConnector", | |
"key.converter": "org.apache.kafka.connect.json.JsonConverter", | |
"value.converter": "org.apache.kafka.connect.json.JsonConverter", | |
"key.converter.schemas.enable": "false", | |
"value.converter.schemas.enable": "false", | |
"genv.alex-impressions-test.bid_id.with": "#{regexify '[1-9]{4}'}", | |
"genv.alex-impressions-test.timestamp.with": "#{date.past '60','10','SECONDS'}", | |
"genv.alex-impressions-test.campaign_id.with": "#{number.number_between '1','8'}", | |
"genv.alex-impressions-test.creative_dimensions.with": "#{regexify '(300x250|320x50|320x480|728x90){1}'}", | |
"genv.alex-impressions-test.country_code.with": "#{regexify '(DE|BY|IT|US|RU|CN){1}'}", | |
"genv.alex-clicks-test.correlation_id.matching": "alex-impressions-test.value.bid_id", | |
"genv.alex-clicks-test.timestamp.with": "#{date.past '10','0','SECONDS'}", | |
"genv.alex-clicks-test.tracker.with": "#{regexify '(allclickz|clicktracker){1}'}", | |
"topic.alex-clicks-test.throttle.ms": 400, | |
"topic.alex-impressions-test.throttle.ms": 10, | |
"global.history.records.max": 1000 | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment