[GitHub] [pulsar] yaalsn added a comment to the discussion: [Python Client] How to subscribe to two topics - both with different schemas?

2023-05-11 Thread GitBox
GitHub user yaalsn added a comment to the discussion: [Python Client] How to subscribe to two topics - both with different schemas? Not JSON schema, I mean sending JSON string, just bytes. I think this can solve your problem quickly. GitHub link:

[GitHub] [pulsar] yaalsn added a comment to the discussion: [Python Client] How to subscribe to two topics - both with different schemas?

2023-05-11 Thread GitBox
GitHub user yaalsn added a comment to the discussion: [Python Client] How to subscribe to two topics - both with different schemas? If pydantic, how about using `JSON` instead of `Avro`, you can convert the models to `JSON` easily https://docs.pydantic.dev/latest/usage/exporting_models/