This article is applicable to the currently released versions of Spring Data GemFire.
When Spring Data GemFire is used with XML configuration and the registerInterest('ALL_KEYS') feature, the following type of error messages are displayed:
Usage of registerInterest('ALL_KEYS') has been deprecated. Please use registerInterestForAllKeys()
Note: The issue is related to Spring Data GemFire (SDG), which uses the deprecated API, and is not related to GemFire.
This message is only a warning and the interest registration will work as expected. This warning lets you know that going forward if use a future version, this way of registering interest will be removed from the product.
Note: The issue is related to Spring Data GemFire (SDG), which uses the deprecated API, and is not related to GemFire. The error message comes from GemFire to serve as a warning. The usage of 'ALL_KEYS' will be eliminated in some future version of Spring Data GemFire.
According to the following pieces of documentation, registerInterest is deprecating that feature and replacing it with registerInterestForAllKeys.
Note: Spring is moving away from an XML based configuration to a Java based configuration.