Content
@
0 reply
0 recast
0 reaction
vrypan |--o--|
@vrypan.eth
@cassie @sanjay can you give some context on the streaming gRPC methods introduced by #2273? How/when are they supposed to be used by a client? https://github.com/farcasterxyz/hub-monorepo/pull/2273
1 reply
0 recast
3 reactions
vrypan |--o--|
@vrypan.eth
Related: How can I keep track of protobuf changes? farcaster-py parses the protobuf definitions to generate the required python API stubs, but they protobuf defs don't have their own versioning, so I rely on the monorepo versions. But this means I must consider my code outdated every time there's a new Hubble version, even if protobufs have not changed.
2 replies
0 recast
5 reactions
Sanjay
@sanjay
Generally we keep the changes backwards compatible. You shouldn't need to bump every version.
1 reply
0 recast
0 reaction
vrypan |--o--|
@vrypan.eth
Yes, but that's not easy to translate to code :-) What about the original question, regarding the streaming APIs?
1 reply
0 recast
0 reaction
Sanjay
@sanjay
It’s meant to provide a performance and reliability improvement when doing long running sync and reconciliation jobs.
1 reply
0 recast
0 reaction