Closes gh-22364

Comment From: snicoll

@anshlykov thank you for the PR. We have a configurer one can use to create a custom factory with the things we've auto-configured. This should have been applied there rather than directly on the connection factory. I've polished things up in https://github.com/spring-projects/spring-boot/commit/8c0318edc797b20eb95e30ae09772c33b4675ab2

Comment From: tjk5567764363

@snicoll can support multi RecordFilterStrategy? such as CompositeRecordFilterStrategy

Comment From: snicoll

@tjk5567764363 I am not sure what you asking or what CompositeRecordFilterStrategy is. The issue updates the documentation that mentions a bean of type RecordFilterStrategy is considered. If your implementation uses a composite pattern in its implementation that'll work fine as long as you have a primary bean that implements RecordFilterStrategy.