Skip to content

syntax check mqtt topic names and topic filters in zilla.yaml #521

@vordimous

Description

@vordimous

Is your feature request related to a problem? Please describe.
When I use an invalid topic name/filter Zilla will crash with a stack trace Caused by: java.util.regex.PatternSyntaxException: Dangling meta character '*'

    - when:
        - publish:
            - topic: "*"
        - subscribe:
            - topic: "*"

Describe the solution you'd like
Add validation checks when parsing the zilla.yaml

Metadata

Metadata

Assignees

Labels

devxEffects the Developer ExperienceenhancementNew feature or request

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions