Skip to content

Add replication config to server.properties - #4

Merged
buchi-busireddy merged 1 commit into
masterfrom
replication-config
Jul 22, 2020
Merged

buchi-busireddy merged 1 commit into
masterfrom
replication-config

Conversation

@ravisingal

Copy link
Copy Markdown
Contributor

No description provided.


{{- if .Values.config.replicaHighWatermarkCheckpointIntervalMs }}
# The frequency with which the high watermark is saved out to disk
replica.high.watermark.checkpoint.interval.ms={{ int .Values.config.replicaHighWatermarkCheckpointIntervalMs }}

Copy link
Copy Markdown

Choose a reason for hiding this comment

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

This should long as per Kafka doc. can you check?

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

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

int function in helm template convert string to number. It does not differentiate between int and long.

Copy link
Copy Markdown

Choose a reason for hiding this comment

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

sounds good.

{{- if .Values.config.replicaLagTimeMaxMs }}
# If a follower hasn't sent any fetch requests or hasn't consumed up to the leaders log end offset for at least this time,
# the leader will remove the follower from isr
replica.lag.time.max.ms={{ int .Values.config.replicaLagTimeMaxMs }}

Copy link
Copy Markdown

Choose a reason for hiding this comment

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

This should also be long, can you check this one too?

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

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

see above,

@buchi-busireddy
buchi-busireddy merged commit b884912 into master Jul 22, 2020
@buchi-busireddy
buchi-busireddy deleted the replication-config branch July 22, 2020 07:09
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.

3 participants