[MXS-2310] Cannot create .avsc files if no database connection Created: 2019-01-31 Updated: 2019-02-05 Resolved: 2019-02-05 |
|
| Status: | Closed |
| Project: | MariaDB MaxScale |
| Component/s: | avrorouter |
| Affects Version/s: | 2.3.3 |
| Fix Version/s: | 2.3.4 |
| Type: | Bug | Priority: | Major |
| Reporter: | markus makela | Assignee: | markus makela |
| Resolution: | Fixed | Votes: | 0 |
| Labels: | None | ||
| Description |
|
A version of the cdc_schema.py script is required that accepts the CREATE TABLE statement as an argument and does not need direct database connectivity. |
| Comments |
| Comment by markus makela [ 2019-02-01 ] |
|
Added a streamlined version of the cdc_schema.py script that reads the output of a DESCRIBE query and generates the corresponding .avsc file. The script can be found here: https://raw.githubusercontent.com/mariadb-corporation/MaxScale/MXS-2310/server/modules/protocol/examples/cdc_one_schema.py |