-
Notifications
You must be signed in to change notification settings - Fork 0
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Refactor connector to match Confluent HDFS connect 4.1.0 #21
Conversation
blootsvoets
commented
Jul 4, 2018
•
edited
Loading
edited
- Intends to fix Re-processing of records on restart because of conflicting offsets ?? #20.
- Added integration test for single topic with multiple schemas
Will this work if we enable it with uncompressed data still there in hdfs? |
The codec used for writing does not influence readers: the codec name stored in the metadata part of the file, and the reader will use that metadata to do correct decoding. |
gradle/publishing.gradle
Outdated
pom { | ||
name = 'radar-hdfs-sink-connector' | ||
description = 'A HDFS Sink connector for RADAR-CNS platform.' | ||
url = 'https://github.com/RADAR-CNS/RADAR-HDFS-Sink-Connector.git' |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
'RADAR-base' ? or githubUrl
gradle/publishing.gradle
Outdated
pkg { | ||
repo = 'org.radarcns' | ||
name = 'radar-hdfs-sink-connector' | ||
userOrg = 'radar-cns' | ||
licenses = ['Apache-2.0'] | ||
vcsUrl = 'https://github.com/RADAR-CNS/RADAR-HDFS-Sink-Connector.git' | ||
vcsUrl = githubUrl |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
does this need .git suffix ? Because some cases it does not work without suffix for example cloning in travis
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
If the git version is recent enough, both with and without the .git
suffix will work.
System.out.println(filePaths); | ||
break; | ||
} | ||
} while (true); |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Can we have a max retries constraint here to prevent infinite loop because of any problems
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
There is a timeout on the method limiting it to two minutes.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Ah okay, missed that. Thanks
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM. Will still need to test if #20 is indeed fixed with this.