ThisprojectisacompanionrepositorytotheApacheKafkaConnectcourseonUdemy.
https://links.datacumulus.com/kafka-connect-coupon
KafkaConnectSourceGitHubThisconnectorallowsyoutogetastreamofissuesandpullrequestsfromyourGitHubrepository,usingtheGitHubApi:https://developer.github.com/v3/issues/#list-issues-for-a-repository
Issuesarepulledbasedonupdated_atfield,meaninganyupdatetoanissueorpullrequestwillappearinthestream.
Theconnectorwritestotopicthatisgreatcandidatetodemonstratelogcompaction.It'salsoafunwaytoautomateyourGitHubworkflow.
It'sfinallyaimedtobeaneducativeexampletodemonstratehowtowriteaSourceConnectoralittlelesstrivialthantheFileStreamSourceConnectorprovidedinKafka.
ContributingThisconnectorisnotperfectandcanbeimproved,pleasefeelfreetosubmitanyPRyoudeemuseful.
Configurationname=GitHubSourceConnectorDemotasks.max=1connector.class=com.simplesteph.kafka.GitHubSourceConnectortopic=github-issuesgithub.owner=kubernetesgithub.repo=kubernetessince.timestamp=2017-01-01T00:00:00Z#Iheavilyrecommendyousetthosetwofields:auth.username=your_usernameauth.password=your_passwordRunningindevelopmentNote:Java8isrequiredforthisconnector.Makesureconfig/worker.propertiesisconfiguredtowhereveryourkafkaclusteris
./build.sh./run.shThesimplestwaytorunrun.shistohavedockerinstalled.ItwillpullaDockerfileandruntheconnectorinstandalonemodeaboveit.
DeployingNote:Java8isrequiredforthisconnector.
TODO
评论