I am developing a data service using Spring Data and Gemfire. There is an annotation
@Region("<region name>")
to specify which Gemfire region the POJO is going to be stored in.
It requires the name of the configured Gemfire region. I feel like hard-coding the name of the region is a bad practice, since the Gemfire cluster is going to be managed by a separate team and I believe the region name should be totally configurable.
Is there any better practice to avoid hard coding the region name?