common.py 781 B

1234567891011121314151617181920212223242526
  1. # Copyright Materialize, Inc. and contributors. All rights reserved.
  2. #
  3. # Use of this software is governed by the Business Source License
  4. # included in the LICENSE file at the root of this repository.
  5. #
  6. # As of the Change Date specified in that file, in accordance with
  7. # the Business Source License, use of this software will be governed
  8. # by the Apache License, Version 2.0.
  9. KAFKA_SCHEMA_WITH_SINGLE_STRING_FIELD = """
  10. $ set keyschema={
  11. "type": "record",
  12. "name": "Key",
  13. "fields": [
  14. {"name": "key1", "type": "string"}
  15. ]
  16. }
  17. $ set schema={
  18. "type" : "record",
  19. "name" : "test",
  20. "fields" : [
  21. {"name":"f1", "type":"string"}
  22. ]
  23. }
  24. """