Skip to content
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

Use new config definition #55

Merged
merged 4 commits into from
Mar 18, 2016
Merged

Use new config definition #55

merged 4 commits into from
Mar 18, 2016

Conversation

Ishiihara
Copy link
Contributor

No description provided.

@Ishiihara
Copy link
Contributor Author

@ewencp JDBC connector using new config definition.


public static final String BATCH_MAX_ROWS_CONFIG = "batch.max.rows";
private static final String BATCH_MAX_ROWS_DOC =
"Maximum number of rows to include in a single batch when polling for new data. This "
+ "setting can be used to limit the amount of data buffered internally in the connector.";
public static final int BATCH_MAX_ROWS_DEFAULT = 100;
private static final String BATCH_MAX_ROWS_DISPLAY = "Batch Max Rows";
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

How many characters do we have? Perhaps "Maximum number of rows per batch"? or "Rows per batch limit"?
Display should probably be close to human english....

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

The length of the display name should be close to the length of the typical value for the config. How about "Max rows per batch" ?

@gwenshap
Copy link
Contributor

LGTM.

Ishiihara added a commit that referenced this pull request Mar 18, 2016
@Ishiihara Ishiihara merged commit 60c8464 into master Mar 18, 2016
@ewencp ewencp deleted the new-config branch March 18, 2016 20:01
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants