|
6 | 6 | ---
|
7 | 7 | ################################################################################
|
8 | 8 | #
|
9 |
| -# Profile |
| 9 | +# SECTION: Orderer |
10 | 10 | #
|
11 |
| -# - Different configuration profiles may be encoded here to be specified |
12 |
| -# as parameters to the configtxgen tool |
| 11 | +# - This section defines the values to encode into a config transaction or |
| 12 | +# genesis block for orderer related parameters |
13 | 13 | #
|
14 | 14 | ################################################################################
|
15 |
| -Profiles: |
| 15 | +Orderer: &OrdererDefaults |
16 | 16 |
|
17 |
| - SampleOrg: |
18 |
| - Orderer: |
19 |
| - <<: *OrdererDefaults |
20 |
| - Organizations: |
21 |
| - - *OrdererOrg |
22 |
| - Consortiums: |
23 |
| - SampleConsortium: |
24 |
| - Organizations: |
25 |
| - - *OrdererOrg |
26 |
| - - *Org1 |
| 17 | + # Orderer Type: The orderer implementation to start |
| 18 | + # Available types are "solo" and "kafka" |
| 19 | + OrdererType: solo |
27 | 20 |
|
28 |
| - SampleChannel: |
29 |
| - Consortium: SampleConsortium |
30 |
| - Application: |
31 |
| - Organizations: |
32 |
| - - *Org1 |
| 21 | + Addresses: |
| 22 | + - orderer:7050 |
| 23 | + |
| 24 | + # Batch Timeout: The amount of time to wait before creating a batch |
| 25 | + BatchTimeout: 2s |
| 26 | + |
| 27 | + # Batch Size: Controls the number of messages batched into a block |
| 28 | + BatchSize: |
| 29 | + |
| 30 | + # Max Message Count: The maximum number of messages to permit in a batch |
| 31 | + MaxMessageCount: 10 |
| 32 | + |
| 33 | + # Absolute Max Bytes: The absolute maximum number of bytes allowed for |
| 34 | + # the serialized messages in a batch. |
| 35 | + AbsoluteMaxBytes: 98 MB |
| 36 | + |
| 37 | + # Preferred Max Bytes: The preferred maximum number of bytes allowed for |
| 38 | + # the serialized messages in a batch. A message larger than the preferred |
| 39 | + # max bytes will result in a batch larger than preferred max bytes. |
| 40 | + PreferredMaxBytes: 512 KB |
| 41 | + |
| 42 | + Kafka: |
| 43 | + # Brokers: A list of Kafka brokers to which the orderer connects. Edit |
| 44 | + # this list to identify the brokers of the ordering service. |
| 45 | + # NOTE: Use IP:port notation. |
| 46 | + Brokers: |
| 47 | + - kafka0:9092 |
| 48 | + - kafka1:9092 |
| 49 | + - kafka2:9092 |
| 50 | + |
| 51 | + # Organizations is the list of orgs which are defined as participants on |
| 52 | + # the orderer side of the network |
| 53 | + Organizations: |
33 | 54 |
|
34 | 55 | ################################################################################
|
35 | 56 | #
|
@@ -77,62 +98,41 @@ Organizations:
|
77 | 98 |
|
78 | 99 | ################################################################################
|
79 | 100 | #
|
80 |
| -# SECTION: Orderer |
| 101 | +# SECTION: Application |
81 | 102 | #
|
82 | 103 | # - This section defines the values to encode into a config transaction or
|
83 |
| -# genesis block for orderer related parameters |
| 104 | +# genesis block for application related parameters |
84 | 105 | #
|
85 | 106 | ################################################################################
|
86 |
| -Orderer: &OrdererDefaults |
87 |
| - |
88 |
| - # Orderer Type: The orderer implementation to start |
89 |
| - # Available types are "solo" and "kafka" |
90 |
| - OrdererType: solo |
91 |
| - |
92 |
| - Addresses: |
93 |
| - - orderer:7050 |
94 |
| - |
95 |
| - # Batch Timeout: The amount of time to wait before creating a batch |
96 |
| - BatchTimeout: 2s |
97 |
| - |
98 |
| - # Batch Size: Controls the number of messages batched into a block |
99 |
| - BatchSize: |
100 |
| - |
101 |
| - # Max Message Count: The maximum number of messages to permit in a batch |
102 |
| - MaxMessageCount: 10 |
103 |
| - |
104 |
| - # Absolute Max Bytes: The absolute maximum number of bytes allowed for |
105 |
| - # the serialized messages in a batch. |
106 |
| - AbsoluteMaxBytes: 98 MB |
107 |
| - |
108 |
| - # Preferred Max Bytes: The preferred maximum number of bytes allowed for |
109 |
| - # the serialized messages in a batch. A message larger than the preferred |
110 |
| - # max bytes will result in a batch larger than preferred max bytes. |
111 |
| - PreferredMaxBytes: 512 KB |
112 |
| - |
113 |
| - Kafka: |
114 |
| - # Brokers: A list of Kafka brokers to which the orderer connects. Edit |
115 |
| - # this list to identify the brokers of the ordering service. |
116 |
| - # NOTE: Use IP:port notation. |
117 |
| - Brokers: |
118 |
| - - kafka0:9092 |
119 |
| - - kafka1:9092 |
120 |
| - - kafka2:9092 |
| 107 | +Application: &ApplicationDefaults |
121 | 108 |
|
122 | 109 | # Organizations is the list of orgs which are defined as participants on
|
123 |
| - # the orderer side of the network |
| 110 | + # the application side of the network |
124 | 111 | Organizations:
|
125 | 112 |
|
126 | 113 | ################################################################################
|
127 | 114 | #
|
128 |
| -# SECTION: Application |
| 115 | +# Profile |
129 | 116 | #
|
130 |
| -# - This section defines the values to encode into a config transaction or |
131 |
| -# genesis block for application related parameters |
| 117 | +# - Different configuration profiles may be encoded here to be specified |
| 118 | +# as parameters to the configtxgen tool |
132 | 119 | #
|
133 | 120 | ################################################################################
|
134 |
| -Application: &ApplicationDefaults |
| 121 | +Profiles: |
135 | 122 |
|
136 |
| - # Organizations is the list of orgs which are defined as participants on |
137 |
| - # the application side of the network |
138 |
| - Organizations: |
| 123 | + SampleOrg: |
| 124 | + Orderer: |
| 125 | + <<: *OrdererDefaults |
| 126 | + Organizations: |
| 127 | + - *OrdererOrg |
| 128 | + Consortiums: |
| 129 | + SampleConsortium: |
| 130 | + Organizations: |
| 131 | + - *OrdererOrg |
| 132 | + - *Org1 |
| 133 | + |
| 134 | + SampleChannel: |
| 135 | + Consortium: SampleConsortium |
| 136 | + Application: |
| 137 | + Organizations: |
| 138 | + - *Org1 |
0 commit comments