redpanda-data / redpanda-data/console

Editing a Connector config with SMTs requires predicates to be configured

Open
#937 0 comments 2 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

feature frontend
Dominant language
TypeScript
Stars
4.3k
Forks
432
Avg merge
3d 6h
Merged PRs (30d)
40

Description

When editing a Kafka Connector config with SMTs configured, these SMTs require predicate to be configured because negate is suposedly configured.
image

The connector config looks and works like this

"transforms": "changeTopic",
"transforms.changeTopic.regex": ".*",
"transforms.changeTopic.replacement": "my-new-topic",
"transforms.changeTopic.type": "org.apache.kafka.connect.transforms.RegexRouter",

predicate and negate are not required and there should not be by the frontend

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

No file or test is named in the report. Start at the frontend connector-config editor and reproduce the edit flow with the supplied SMT configuration; done means predicate and negate are not required when they are not configured.

Written by the indexing model from the issue text.

Assessment

Tech stack
kafka, react, typescript
Domain
frontend
Issue type
Bug
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.