* remove benchmark
* explicitly use zero value
* initialize slice to 0 len
* fix loop closure
* use basic int for counter
* reduce diff
Co-authored-by: Artur Souza <artursouza.ms@outlook.com>
Co-authored-by: Dapr Bot <56698301+dapr-bot@users.noreply.github.com>
* no message
* Switching over usages of retry to the new package and making use of the DecodeConfig function
* Added decoding configuration using settings with a specific prefix
* Linter fixes
* Fixing linter error
* time.Sleep is the enemy
* Fix typo in comment
* Moving config to a pointer parameter so that the component can pass in the config with default values that make sense for that component.
* Renamed config struct
* Fix comment
Co-authored-by: Artur Souza <artursouza.ms@outlook.com>
* add option to customize cluster domain of kubernetes nameresolution
* add clusterDomain config to k8s name resolution
* Adding normalization of kubernetes nr config when read from YAML
* Adding copyright headers to new files
Co-authored-by: Phil Kedy <phil.kedy@gmail.com>
* WIP mdns rr
* add callback mechanism
* add initial testing
* fix lint
* add debug logs
* register as unique instance
* update comments
* add continue when no address
* fix lint
* add test for empty address list next
* refresh on new app id in the background
* fix lint
* update comment
* add way to control mDNS instance ID
* update test case
* add guard for empty refreshes
* update log message to include app id
* update log message to include app id
* update comment
Co-authored-by: Yaron Schneider <yaronsc@microsoft.com>