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

feat: add connectionBufferSizeMB field in order to specify support mb values #70

Closed
wants to merge 2 commits into from

Conversation

Abdulsametileri
Copy link
Member

@Abdulsametileri Abdulsametileri commented Nov 8, 2023

In the connectionBufferSize config on primary and metadata buckets, we got raw bytes value as connectionBufferSize: 20971520 it's really hard to read and understand the exact value.

To get mb related value from users like 5mb, 15mb, 1.5mb, 2.5mb etc. I have added a new field called connectionBufferSizeMB . Via this field, users can easily determine

metadata:
  config:
    bucket: cbes-checkpoint-ProductCenter
    connectionBufferSizeMB: 5mb

dcp:
  connectionTimeout: 10s
  connectionBufferSizeMB: 20mb

etc.

Currently, I try to support connectionBufferSize in not order to break compatibility. I signed this field as deprecated on README.

@Abdulsametileri Abdulsametileri self-assigned this Nov 8, 2023
@Abdulsametileri Abdulsametileri added the enhancement New feature or request label Nov 8, 2023
@Abdulsametileri
Copy link
Member Author

No required to keep open this PR, I have opened more expanded version of it: #71

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants