asyncapi/java-spring-template

Generalize Kafka properties

Tenischev opened this issue ยท 1 comments

Reason/Context

In the potential feature #7 properties for kafka connect defined as custom properties with predefined values in application.yml. They are hardcoded and it's not clear whenever they should be changed or not. (Ofc if you know Kafka, it's evident for you)
Consider two improvement:

  1. Use spring-kafka library properties to configure consequent parameters.
    2.a) Define those properties as template parameters
    2.b) Move those properties to AsyncAPI spec, perhaps somewhere in server definition.

Description

For point one spring-kafka library docs could help.
For point two A:
https://github.com/asyncapi/generator/blob/master/docs/authoring.md#configuration-file
Example here - https://github.com/asyncapi/html-template#supported-parameters
For point two B:
Expand kafka binding for server https://github.com/asyncapi/bindings/tree/master/kafka#server or just define via extensions to use only in this template.

๐ŸŽ‰ This issue has been resolved in version 0.6.0 ๐ŸŽ‰

The release is available on:

Your semantic-release bot ๐Ÿ“ฆ๐Ÿš€