Skip to content

Wizard: Prevent entry of the several bootstrap servers into a single field #3418

Open
@BulatKha

Description

@BulatKha

Describe the bug (Actual behavior)

It is possible to type into a single "Bootstrap servers" field a list of several as comma-separated values. E.g.:
'kafka0:29092,kafka1:29092, .. kafkaN' in bootstrap server address and port in the next.
After clicking on 'Submit', they are created as separate nodes.

Expected behavior

Some field validation should prevent saving field values as such.

Set up

450ec66
the 'wizard' branch

Steps to Reproduce

  1. Set up the Kafka UI with a setting
    DYNAMIC_CONFIG_ENABLED: true
  2. Open dashboard and click 'Configure' for and existing cluster or 'Configure new cluster'.
  3. Enter several comma-separated bootstrap servers with ports into a single 'Bootstrap servers' field like this:
    image
  4. Click Submit button and check the cluster config:
    image

Additional context

Metadata

Metadata

Assignees

No one assigned

    Labels

    area/wizardseverity/mediumSeverity level for a bug. Applicable only for bug label.status/acceptedAn issue which has passed triage and has been acceptedtype/bugSomething isn't working

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions