我在生产环境中运行Hyperledger,并且已经重新启动了整个网络(包括所有kafka经纪人),因此,我无法使用主渠道。
尝试从kafka代理获取数据时,订购者记录错误:
# Logs of an orderer:
[channel: <the_channel>] Starting chain with last persisted offset 14369 and last recorded block 3580
...
[channel: <the_channel>] Connecting to the Kafka cluster
[channel: <the_channel>] Need to retry because process failed = kafka server: The requested offset is outside the range of offsets maintained by the server for the given topic/partition.
[channel: <the_channel>] Connecting to the Kafka cluster
[channel: <the_channel>] Need to retry because process failed = kafka server: The requested offset is outside the range of offsets maintained by the server for the given topic/partition.
[channel: <the_channel>] Connecting to the Kafka cluster
[channel: <the_channel>] Need to retry because process failed = kafka server: The requested offset is outside the range of offsets maintained by the server for the given topic/partition.
# etc ...
...
[channel: <the_channel>] Rejecting deliver request for <ip:port> because of consenter error
我想订购者正在尝试访问不在kafka中的数据(由于重新启动)。
我猜对了吗?而且,如果可以,该如何解决?
谢谢