You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
[feat] Support auto download schema when create producer. (#157)
### Motivation
If a schema exists in a topic, but the producer does not know it. He still wanted to send data to the topic. (The scenario in which the DLQ sends a message: Please refer #139 **[Verifying this change][5]**)
### Modifications
- When creating a producer with `autoDownloadSchema` param, try to get the schema of that topic and use it.
- Support `getSchema` on `LookupService`(HTTP and Binary).
### Verifying this change
- Add `LookupServiceTest` unit test to cover `getSchema` logic.
- Add `SchemaTest.testAutoDownloadSchema` unit test to cover creating producer success when the topic has a schema.
Co-authored-by: Baodi Shi <baoddi@apache.org>
0 commit comments