yuluo-yx opened a new issue, #2700: URL: https://github.com/apache/rocketmq-dashboard/issues/2700
## Problem Broker configuration parsing trims integer values but passes `flushDiskType` to the enum parser unchanged. A valid broker value such as `" SYNC_FLUSH "` is therefore treated as unknown and silently reported as `ASYNC_FLUSH`. ## Reproduction Return broker properties containing `flushDiskType = " SYNC_FLUSH "` from the admin API. The mapped Studio configuration reports `ASYNC_FLUSH`. ## Expected behavior Ignore surrounding whitespace for valid flush-disk values while preserving the existing fallback for genuinely unknown values. ## Scope Normalize the value at the parser boundary and add a focused service test for padded valid and unknown values. -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail: [email protected] For queries about this service, please contact Infrastructure at: [email protected]
