Skip to content

Commit 6f9debe

Browse files
committed
[FAB-4622] Improve Retry text in orderer.yaml
Change-Id: I78ce310a041666a8c7a5c047c3f80095af36e307 Signed-off-by: Kostas Christidis <[email protected]>
1 parent 84eaca2 commit 6f9debe

File tree

2 files changed

+8
-14
lines changed

2 files changed

+8
-14
lines changed

examples/cluster/config/orderer.yaml

+4-7
Original file line numberDiff line numberDiff line change
@@ -148,19 +148,16 @@ Kafka:
148148
# or if a metadata request to the Kafka cluster needs to be repeated.
149149
Retry:
150150
# When a new channel is created, or when an existing channel is reloaded
151-
# (as part of the orderer's bootstrapping), the orderer interacts with
152-
# the Kafka cluster in the following ways:
151+
# (in case of a just-restarted orderer), the orderer interacts with the
152+
# Kafka cluster in the following ways:
153153
# 1. It creates a Kafka producer (writer) for the Kafka partition that
154154
# corresponds to the channel.
155155
# 2. It uses that producer to post a no-op CONNECT message to that
156156
# partition
157157
# 3. It creates a Kafka consumer (reader) for that partition.
158-
# If any of these steps fails, they will be re-attempted every
158+
# If any of these steps fail, they will be re-attempted every
159159
# <ShortInterval> for a total of <ShortTotal>, and then every
160-
# <LongInterval> for a total of <LongTotal> until they succeed:
161-
# 1. Creation of Kafka producer (writer) for the channel
162-
# 2. Creation of Kafka consumer (reader) for the channel
163-
# 3. Posting of no-op CONNECT message to the channel
160+
# <LongInterval> for a total of <LongTotal> until they succeed.
164161
# Note that the orderer will be unable to write to or read from a
165162
# channel until all of the steps above have been completed successfully.
166163
ShortInterval: 5s

sampleconfig/orderer.yaml

+4-7
Original file line numberDiff line numberDiff line change
@@ -148,19 +148,16 @@ Kafka:
148148
# or if a metadata request to the Kafka cluster needs to be repeated.
149149
Retry:
150150
# When a new channel is created, or when an existing channel is reloaded
151-
# (as part of the orderer's bootstrapping), the orderer interacts with
152-
# the Kafka cluster in the following ways:
151+
# (in case of a just-restarted orderer), the orderer interacts with the
152+
# Kafka cluster in the following ways:
153153
# 1. It creates a Kafka producer (writer) for the Kafka partition that
154154
# corresponds to the channel.
155155
# 2. It uses that producer to post a no-op CONNECT message to that
156156
# partition
157157
# 3. It creates a Kafka consumer (reader) for that partition.
158-
# If any of these steps fails, they will be re-attempted every
158+
# If any of these steps fail, they will be re-attempted every
159159
# <ShortInterval> for a total of <ShortTotal>, and then every
160-
# <LongInterval> for a total of <LongTotal> until they succeed:
161-
# 1. Creation of Kafka producer (writer) for the channel
162-
# 2. Creation of Kafka consumer (reader) for the channel
163-
# 3. Posting of no-op CONNECT message to the channel
160+
# <LongInterval> for a total of <LongTotal> until they succeed.
164161
# Note that the orderer will be unable to write to or read from a
165162
# channel until all of the steps above have been completed successfully.
166163
ShortInterval: 5s

0 commit comments

Comments
 (0)