Commit 3e8ee65a authored by Matteo Campanelli's avatar Matteo Campanelli
Browse files

Update configtx.yaml

parent cbf630c3
...@@ -223,22 +223,22 @@ Orderer: &OrdererDefaults ...@@ -223,22 +223,22 @@ Orderer: &OrdererDefaults
- orderer.example.com:7050 - orderer.example.com:7050
# Batch Timeout: The amount of time to wait before creating a batch # Batch Timeout: The amount of time to wait before creating a batch
BatchTimeout: 2s BatchTimeout: 0.5s
# Batch Size: Controls the number of messages batched into a block # Batch Size: Controls the number of messages batched into a block
BatchSize: BatchSize:
# Max Message Count: The maximum number of messages to permit in a batch # Max Message Count: The maximum number of messages to permit in a batch
MaxMessageCount: 10 MaxMessageCount: 1
# Absolute Max Bytes: The absolute maximum number of bytes allowed for # Absolute Max Bytes: The absolute maximum number of bytes allowed for
# the serialized messages in a batch. # the serialized messages in a batch.
AbsoluteMaxBytes: 99 MB AbsoluteMaxBytes: 256KB
# Preferred Max Bytes: The preferred maximum number of bytes allowed for # Preferred Max Bytes: The preferred maximum number of bytes allowed for
# the serialized messages in a batch. A message larger than the preferred # the serialized messages in a batch. A message larger than the preferred
# max bytes will result in a batch larger than preferred max bytes. # max bytes will result in a batch larger than preferred max bytes.
PreferredMaxBytes: 512 KB PreferredMaxBytes: 1 KB
Kafka: Kafka:
# Brokers: A list of Kafka brokers to which the orderer connects # Brokers: A list of Kafka brokers to which the orderer connects
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment