ApolloConfigChangeListener interestedKeyPrefixes don't filter keys #3664
Labels
area/client
apollo-client
kind/question
Categorizes issue when someone want to know answer of a question
kind/report-problem
Categorizes issue when someone report the problem he/she meeted
Describe the bug
In a spring boot application.
When user write
Sometimes
configChangeEvent.changedKeys()
will get keys which not start withlogging.level.
A clear and concise description of what the bug is.
To Reproduce
1.Use a spring boot application with apollo
2. Write a configuration
3. change config in by apollo portal
Add
to namespace
application
, release it.4. watch out the log output
The key
a
show in it.Expected behavior
A clear and concise description of what you expected to happen.
Only keys start with
logging.level.
returned when user callconfigChangeEvent.changedKeys()
Additional Details & Logs
More details about log
If user want to delete the prefix of key by
without check, an exception will be throwed like follow
Should user check it by self
or apollo client help them to filter keys, only prefix matched keys will be keeped?
The text was updated successfully, but these errors were encountered: