You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@kafka.apache.org by kk...@apache.org on 2020/04/28 19:12:35 UTC

[kafka] branch 2.5 updated: MINOR: Fix partition numbering from 0 to P-1 instead of P in docs (#8572)

This is an automated email from the ASF dual-hosted git repository.

kkarantasis pushed a commit to branch 2.5
in repository https://gitbox.apache.org/repos/asf/kafka.git


The following commit(s) were added to refs/heads/2.5 by this push:
     new ad8ee92  MINOR: Fix partition numbering from 0 to P-1 instead of P in docs (#8572)
ad8ee92 is described below

commit ad8ee921d1e52c5e89aa0f6bab6c5a1e8047cdb9
Author: Jorge Esteban Quilcate Otoya <qu...@gmail.com>
AuthorDate: Tue Apr 28 20:10:03 2020 +0100

    MINOR: Fix partition numbering from 0 to P-1 instead of P in docs (#8572)
    
    Small typo fix
    
    Reviewers: Konstantine Karantasis <ko...@confluent.io>
---
 docs/protocol.html | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/docs/protocol.html b/docs/protocol.html
index 6d9bb5b..5759aa3 100644
--- a/docs/protocol.html
+++ b/docs/protocol.html
@@ -75,7 +75,7 @@
 
 <h5><a id="protocol_partitioning" href="#protocol_partitioning">Partitioning and bootstrapping</a></h5>
 
-<p>Kafka is a partitioned system so not all servers have the complete data set. Instead recall that topics are split into a pre-defined number of partitions, P, and each partition is replicated with some replication factor, N. Topic partitions themselves are just ordered "commit logs" numbered 0, 1, ..., P.</p>
+<p>Kafka is a partitioned system so not all servers have the complete data set. Instead recall that topics are split into a pre-defined number of partitions, P, and each partition is replicated with some replication factor, N. Topic partitions themselves are just ordered "commit logs" numbered 0, 1, ..., P-1.</p>
 
 <p>All systems of this nature have the question of how a particular piece of data is assigned to a particular partition. Kafka clients directly control this assignment, the brokers themselves enforce no particular semantics of which messages should be published to a particular partition. Rather, to publish messages the client directly addresses messages to a particular partition, and when fetching messages, fetches from a particular partition. If two clients want to use the same partitio [...]