Loading tutorials
GetTopic tells you whether a topic can be subscribed to and which schema it uses. GetSchema returns that schema as JSON.4 min readGetTopic and GetSchema, as covered in the previous chapters. You should also be comfortable with Python dictionaries and bytes. By the end, you will be able to turn the raw payload bytes of an event into a Python dictionary, cache sche5 min readSubscribe RPC: how to open the stream, what you send, what comes back, and how to read events in a loop. It assumes you can already do the following:5 min readSubscribe stream and decode Avro payloads, as covered in the previous chapters. It also assumes you know that a gRPC bidirectional stream carries messages in both directions at the same time. Here you learn how the client tells the server how many events6 min readSubscribe stream, decode Avro payloads, and use num_requested for flow control, as covered in earlier chapters. You should also be comfortable with Python and with the idea that a subscriber can crash or lose its connection at any time.5 min readSubscribe stream, decode Avro payloads with a cached schema, and track replay IDs, as covered in the earlier chapters. Change Data Capture (CDC) is the second kind of event you can receive from the Pub/Sub API, after platform events. The transport is the5 min readSubscribe stream, decode Avro payloads, and store replay IDs, as covered in the earlier chapters. It explains the limits that decide whether a stored replay ID is still usable and how much a subscriber can receive. Each of these limits shapes subscriber 6 min readSubscribe, num_requested, and replay IDs. You should be comfortable with the authentication metadata, the generated Python stubs, and decoding Avro payloads with a cached schema.6 min read