Closed sivamu closed 3 years ago
This bug seems to be on kafka config class. Observed similar behavior in other connectors' config as well as default error configs with Boolean
type.
Possible workaround could be configuring field as String instead of Boolean, that would convert config dropdown to free text box on control center UI.
@kev-ms to your point, that would kind of defeat the purpose. I am going to put this in the handoff epic to be discussed with the PG.
Sounds like a bug on Kafka side. Not cosmos side.
From: Brandy notifications@github.com Sent: Thursday, 4 February 2021 12:14 To: microsoft/kafka-connect-cosmosdb Cc: Subscribed Subject: Re: [microsoft/kafka-connect-cosmosdb] Boolean default values don't show up properly Control-center (#307)
@kev-mshttps://github.com/kev-ms to your point, that would kind of defeat the purpose. I am going to put this in the handoff epic to be discussed with the PG.
— You are receiving this because you are subscribed to this thread. Reply to this email directly, view it on GitHubhttps://github.com/microsoft/kafka-connect-cosmosdb/issues/307#issuecomment-772891626, or unsubscribehttps://github.com/notifications/unsubscribe-auth/AJI62VKVMTGCCY7GL3TYUV3S5HKDTANCNFSM4W7RB7BQ.
They did say somewhere in their docs to not use boolean but instead use an array of supported values ... In our case yes/no or true/false or "enabled/disabled"
Can't remember where in the docs it gives an example of this. Perhaps in the Checklist doc linked in the project?
From: kev-ms notifications@github.com Sent: Thursday, 4 February 2021 09:25 To: microsoft/kafka-connect-cosmosdb Cc: Subscribed Subject: Re: [microsoft/kafka-connect-cosmosdb] Boolean default values don't show up properly Control-center (#307)
This bug seems to be on kafka config class. Observed similar behavior in other connectors' config as well as default error configs with Boolean type.
Possible workaround could be configuring field as String instead of Boolean, that would convert config dropdown to free text box.
— You are receiving this because you are subscribed to this thread. Reply to this email directly, view it on GitHubhttps://github.com/microsoft/kafka-connect-cosmosdb/issues/307#issuecomment-772798981, or unsubscribehttps://github.com/notifications/unsubscribe-auth/AJI62VPSHDIHAEOQ6P7SHO3S5GWL7ANCNFSM4W7RB7BQ.
@kev-ms should we explore Ryan's suggestion in M2?
Yes, we should look in to those alternatives
The consensus was to fix this by not using booleans as that is what's noted in the docs.
Description
The boolean default config values show up as "true" even when "false" is specified as a default.