Created
July 15, 2020 10:38
-
-
Save s-chb/eae69682f751598ed567ae9407d34f82 to your computer and use it in GitHub Desktop.
This file contains hidden or 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
CREATE SOURCE CONNECTOR http_source WITH ( | |
'http.request.headers' = 'Content-Type: application/json', | |
'http.request.url' = 'http://demo:demo@public-ipv4:8080/engine-rest/history/activity-instance/', | |
'http.throttler.interval.millis' = '30000', | |
'http.request.method' = 'GET', | |
'kafka.topic' = 'act_hi_taskinst', | |
'http.throttler.catchup.interval.millis' = '1000', | |
'connector.class' = 'com.github.castorm.kafka.connect.http.HttpSourceConnector', | |
'tasks.max' = '1', | |
'key.converter' ='org.apache.kafka.connect.storage.StringConverter', | |
'value.converter' = 'org.apache.kafka.connect.json.JsonConverter', | |
'header.converter' = 'org.apache.kafka.connect.json.JsonConverter', | |
'errors.log.enable' = 'true', | |
'errors.log.include.messages' = 'true', | |
'schema.generation.enabled' = 'true', | |
'mode' = 'incrementing' | |
); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment