[Discussion] How to query the decompressed metadata from znode ? #19668
kaori-seasons
started this conversation in
General
Replies: 1 comment
-
I don't know what's the actual problem here. But for reading encoded data on znode, you need to decode it in the CLI class and that's all. |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Search before asking
Motivation
Hi community. I'm targeting PIP-123 interest. I spent two weeks at work doing some tuning research.
Solution
The mechanism I understand that needs to be modified is this: call the java program in the zookeeper-shell to pass in some command line parameters, and then put it into the managed-ledger cursor through the zk client server such as curator,
However, since the managed-ledger here may touch multiple copies of the bk node metadata when reading and writing zk,
Now there are options such as rocksdb, so it needs to be unified and compatible in the underlying logic of AdminCli.
Pulsar's internal protocol serialization data (xxxxmessage.proto) in the znode needs to download metadata without breaking the existing internal internal protocol. How should I do? Because in my opinion need to do a layer of decompression abstraction
Alternatives
none
Anything else?
none
Are you willing to submit a PR?
Beta Was this translation helpful? Give feedback.
All reactions