apache / apache/pulsar-client-node
Can't serialize message of type "pulsar.proto.MessageMetadata" because it is missing required fields: (cannot determine missing fields for lite message)
- 主要语言
- C++
- 星标
- 164
- 派生
- 98
- PR 合并指标
- 30 天内没有已合并 PR
描述
nodejs 16
sdk version:nodejs pulsar-client 1.6.2
cluster version 2.7
When I restart the producer, I get the following error:
2022-07-12 12:54:07.697 INFO [140305944786688] HTTPLookupService:295 | parsePartitionData = { LookupDataResult [brokerUrl_ = ] [brokerUrlTls_ = ] [partitions = 2] [authoritative = 0] [redirect = 0] proxyThroughServiceUrl = 0] }
[libprotobuf FATAL google/protobuf/message_lite.cc:327] CHECK failed: IsInitialized(): Can't serialize message of type "pulsar.proto.MessageMetadata" because it is missing required fields: (cannot determine missing fields for lite message)
terminate called after throwing an instance of 'google::protobuf::FatalException'
what(): CHECK failed: IsInitialized(): Can't serialize message of type "pulsar.proto.MessageMetadata" because it is missing required fields: (cannot determine missing fields for lite message)
Why is there such an error, is it a bug?
贡献指南
这个仓库没有索引到贡献指南
调研方向
首先使用 Node.js 16、pulsar-client 1.6.2 和 Pulsar 2.7 集群复现 producer 重启,然后跟踪报告的 libprotobuf 故障附近 pulsar.proto.MessageMetadata 的原生序列化过程。完成的标准是确定必需字段缺失的原因,并确认 producer 重启不再因 fatal exception 而终止。
由索引模型根据 Issue 内容生成。
评估
- 技术栈
- cpp, javascript, nodejs
- 领域
- backend, distributed-systems
- Issue 类型
- 缺陷
- 难度
- 4/5
- 预计耗时
- 3-5 天
- 活跃度
- 停滞
- 描述清晰度
- 需要澄清
- 新手友好度
- 25/100