Skip to content
This repository has been archived by the owner on Sep 2, 2024. It is now read-only.

Conversation

pierDipi
Copy link
Member

@pierDipi pierDipi commented Feb 7, 2022

Fixes #1006

The current defaults of setting partitions and replication factor to 1
aren't safe defaults for performance and durability.

This PR sets KafkaChannel default replication factor to 3 and
num partitions to 10.

Proposed Changes

  • Change KafkaChannel default replication factor and num partitions

Release Note

KafkaChannel default replication factor is 3 and num partitions is 10.

@knative-prow-robot knative-prow-robot added the size/XS Denotes a PR that changes 0-9 lines, ignoring generated files. label Feb 7, 2022
@pierDipi
Copy link
Member Author

pierDipi commented Feb 7, 2022

/cc @matzew @travis-minke-sap

@knative-prow-robot
Copy link
Contributor

[APPROVALNOTIFIER] This PR is APPROVED

This pull-request has been approved by: pierDipi

The full list of commands accepted by this bot can be found here.

The pull request process is described here

Needs approval from an approver in each of these files:

Approvers can indicate their approval by writing /approve in a comment
Approvers can cancel approval by writing /approve cancel in a comment

@knative-prow-robot knative-prow-robot added the approved Indicates a PR has been approved by an approver from all required OWNERS files. label Feb 7, 2022
@pierDipi
Copy link
Member Author

pierDipi commented Feb 7, 2022

/cc @aliok

@codecov
Copy link

codecov bot commented Feb 7, 2022

Codecov Report

Merging #1085 (5fdfd27) into main (9a0611d) will not change coverage.
The diff coverage is n/a.

Impacted file tree graph

@@           Coverage Diff           @@
##             main    #1085   +/-   ##
=======================================
  Coverage   75.23%   75.23%           
=======================================
  Files         123      123           
  Lines        5726     5726           
=======================================
  Hits         4308     4308           
  Misses       1196     1196           
  Partials      222      222           

Continue to review full report at Codecov.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update 9a0611d...5fdfd27. Read the comment docs.

@aliok
Copy link
Member

aliok commented Feb 7, 2022

it looks good to me, but I leave it to @travis-minke-sap

@travis-minke-sap
Copy link
Contributor

Thanks!
/lgtm

@knative-prow-robot knative-prow-robot added the lgtm Indicates that a PR is ready to be merged. label Feb 7, 2022
@knative-prow-robot knative-prow-robot merged commit ce66b2e into knative-extensions:main Feb 7, 2022
@pierDipi pierDipi deleted the KNATIVE-1006-change-default-rf-and-num-partitions branch February 7, 2022 14:41
matzew added a commit to matzew/eventing-kafka that referenced this pull request Feb 16, 2022
matzew added a commit to matzew/eventing-kafka that referenced this pull request Feb 17, 2022
knative-prow-robot pushed a commit that referenced this pull request Feb 17, 2022
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
approved Indicates a PR has been approved by an approver from all required OWNERS files. lgtm Indicates that a PR is ready to be merged. size/XS Denotes a PR that changes 0-9 lines, ignoring generated files.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Change KafkaChannel defaults for partition and replica
4 participants