Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat[namespace+topic]: support schema related policies #72

Open
ericsyh opened this issue Dec 5, 2022 · 0 comments
Open

feat[namespace+topic]: support schema related policies #72

ericsyh opened this issue Dec 5, 2022 · 0 comments

Comments

@ericsyh
Copy link
Member

ericsyh commented Dec 5, 2022

Namespace

apiVersion: resource.streamnative.io/v1alpha1
kind: PulsarNamespace
metadata:
  name: test-pulsar-namespace
  namespace: test
spec:
  name: test-tenant/testns
  connectionRef:
    name: test-pulsar-connection
  schemaCompatibilityStrategy
  isAllowAutoUpdateSchema
  schemaValidationEnforced
Policy Type Allowed values API doc
schemaCompatibilityStrategy string Full FullTransitive Forward ForwardTransitive Backward BackwardTransitive AlwaysCompatible AlwaysIncompatible https://pulsar.apache.org/admin-rest-api/#operation/setSchemaCompatibilityStrategy
isAllowAutoUpdateSchema bool true, false https://pulsar.apache.org/admin-rest-api/#operation/setIsAllowAutoUpdateSchema
schemaValidationEnforced bool true, false https://pulsar.apache.org/admin-rest-api/#operation/setSchemaValidationEnforced

Topic

apiVersion: resource.streamnative.io/v1alpha1
kind: PulsarTopic
metadata:
  name: "test-pulsar-topic123"
  namespace: test
spec:
  name: persistent://test-tenant/testns/topic123
  connectionRef:
    name: "test-pulsar-connection"
  schemaCompatibilityStrategy
  isAllowAutoUpdateSchema
  schemaValidationEnforced
Policy Type Allowed values API doc
schemaCompatibilityStrategy string Full FullTransitive Forward ForwardTransitive Backward BackwardTransitive AlwaysCompatible AlwaysIncompatible https://pulsar.apache.org/admin-rest-api/#operation/setSchemaCompatibilityStrategy
isAllowAutoUpdateSchema bool true, false https://pulsar.apache.org/admin-rest-api/#operation/setIsAllowAutoUpdateSchema
schemaValidationEnforced bool true, false https://pulsar.apache.org/admin-rest-api/#operation/setSchemaValidationEnforced
@ericsyh ericsyh added this to the 0.3.0 milestone Dec 5, 2022
@ericsyh ericsyh removed this from the 0.3.0 milestone Feb 13, 2023
@ericsyh ericsyh added this to the 0.4.0 milestone Apr 5, 2023
@ericsyh ericsyh removed this from the 0.4.0 milestone Jun 12, 2023
@FushuWang FushuWang removed their assignment Aug 22, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants