Skip to content

All components: User-defined options should always be added at end #146

@kevinwallimann

Description

@kevinwallimann

User defined options should always override any options preset by the component, e.g. in KafkaStreamWriter

confluentAvroDataFrame
      .writeStream
      .options(extraOptions)
//...
      .option("topic", topic)
      .option("kafka.bootstrap.servers", brokers)
      .format("kafka")

In this case, the user has control, over both topic and brokers, but to be consistent, the call to .options with user-defined options should always at the end

Metadata

Metadata

Assignees

Labels

bugSomething isn't working

Type

No type
No fields configured for issues without a type.

Projects

No projects

Relationships

None yet

Development

No branches or pull requests

Issue actions