CLI-3550: Confluent kafka link create is not providing feedback from config.txt that the tasks are in error and has no documentation on what is expected in the config.txt file.

Aperta
#3,072 0 commenti 0 reazioni 0 assegnatari Vedi su GitHub

I maintainer di solito rispondono entro 1 giorno

Nessuno ha ancora preso questa issue.

Valutazione

Difficoltà
4/5
Tempo stimato
3-5 giorni
Idoneità per principianti
35/100
Tipo di issue
Bug
Chiarezza
Abbastanza chiara
Stato di attività
Ferma
Stack tecnologico
go
Ambito
cli, documentation

Direzione di ricerca

Inizia con l’implementazione e la documentazione di Confluent CLI per confluent kafka link create, la gestione di --config e confluent kafka link task list. Riproduci il caso config.txt fornito su v4.21.0 o sulla versione corrente, quindi documenta i filtri ACL, topic e consumer-group richiesti e assicurati che gli errori di configurazione vengano segnalati quando viene creato il link.

Scritto dal modello di indicizzazione a partire dal testo della issue.

Descrizione

enhancement

Confluent CLI is lacking documentation on how to pass through arguments for syncing consumer offsets, ACL's and auto creating mirror topics.


confluent kafka link create $LINK_NAME \

--cluster $DEST_CLUSTER_ID \

--source-cluster $SOURCE_CLUSTER_ID \

--source-bootstrap-server $BOOTSTRAP_ENDPOINT \

--source-api-key $API_KEY \

--source-api-secret $API_SECRET \

--destination-cluster $DEST_CLUSTER_ID \

--config config.txt

# config.txt: 
auto.create.mirror.topics.enable=true
consumer.offset.sync.enable=true
acl.sync.enable=true

This creates the cluster link and reports no errors in the cli but when checking the tasks on the link they're reporting status in_error:

confluent kafka link task list --link [link-name]

---------------------+----------+------------------------------------
  AclSync            | IN_ERROR | MISCONFIGURATION_ERROR: "ACL
                     |          | migration is enabled but
                     |          | acl.filters is not set. Please
                     |          | set acl.filters to proceed
                     |          | with ACL migration."
  AutoCreateMirror   | IN_ERROR | MISCONFIGURATION_ERROR:
                     |          | "auto.create.mirror.topics.enable
                     |          | is true but no topic filters
                     |          | are specified. No topics will be
                     |          | mirrored."
  ConsumerOffsetSync | IN_ERROR | MISCONFIGURATION_ERROR:
                     |          | "consumer.offset.sync.enable
                     |          | is true but no consumer
                     |          | group filters are specified.
                     |          | No consumer offsets will be
                     |          | migrated."
  TopicConfigsSync   | ACTIVE   |

There are no hints in the cli for what is expected here, there is no documentation that I can find to get consumer offsets ACL's to sync or auto-create mirror topics via the cli

If I hadn't caught this before my DR failover, consumers wouldn't know where to begin with processing.

this is on confluent version v4.21.0

to temporarily resolve this I was able to create the link in the UI.

Lingua principale
Go
Stelle
82
Fork
37
Merge medio
1g 13h
PR unite (30g)
22

Preparare l'ambiente

Come iniziare

  1. Leggi tutta la issue e poi la guida ai contributi del progetto.
  2. Commenta sulla issue per dire che te ne occupi tu — evita che due persone facciano lo stesso lavoro.
  3. Fai un fork del repository e lavora su un branch.
  4. Apri una pull request che faccia riferimento al numero della issue.

Altre issue di confluentinc/cli

Tutte le issue di confluentinc/cli

Issue simili

Altre issue su Go

Ricevi le nuove issue nella tua casella

Un breve riepilogo di issue GitHub adatte ai principianti.