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

jikkou get kt returns the same topic id for all topics #424

Closed
sandile-yakka opened this issue Apr 18, 2024 · 1 comment
Closed

jikkou get kt returns the same topic id for all topics #424

sandile-yakka opened this issue Apr 18, 2024 · 1 comment
Labels
question Further information is requested

Comments

@sandile-yakka
Copy link

Hi, I have an issue where fetching a list of already existing topics from kafka 2.1.1 using jikkou v0.33.3 returns a list of topics all of which have the same topic ID. Should this be a point of concern? I worry that changing the configuration of one of the topics might result in an inadvertent change in the others.

jikkou get kt 

apiVersion: "kafka.jikkou.io/v1beta2"
kind: "KafkaTopic"
metadata:
  name: "<redacted>"
  labels:
    kafka.jikkou.io/topic-id: "AAAAAAAAAAAAAAAAAAAAAA"
  annotations:
    kafka.jikkou.io/cluster-id: "mFMXM7FcRhSVImM2mO0-JA"
    jikkou.io/generated: "2024-04-18T12:45:22.900088Z"
spec:
  partitions: 6
  replicas: 2
  configs:
    retention.ms: "345600000"
  configMapRefs: []
---
apiVersion: "kafka.jikkou.io/v1beta2"
kind: "KafkaTopic"
metadata:
  name: "<redacted>"
  labels:
    kafka.jikkou.io/topic-id: "AAAAAAAAAAAAAAAAAAAAAA"
  annotations:
    kafka.jikkou.io/cluster-id: "mFMXM7FcRhSVImM2mO0-JA"
    jikkou.io/generated: "2024-04-18T12:45:22.900088Z"
spec:
  partitions: 3
  replicas: 2
  configs:
    retention.ms: "345600000"
  configMapRefs: []
@sandile-yakka sandile-yakka added the question Further information is requested label Apr 18, 2024
@fhussonnois
Copy link
Member

Hi @sandile-yakka, I think the concept of topic-id does not exist in kafka 2.1.1 so the Kafka Client returns some kind of default value. Maybe it would be preferable to hide that label in Jikkou for that situation.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
question Further information is requested
Projects
None yet
Development

No branches or pull requests

2 participants