title: Change collation for Spring Reactive MongoDB
body: <p>I'm using <code>spring-data-mongodb:2.2.2.RELEASE</code>, <code>spring-boot-starter-webflux:2.2.2.RELEASE</code> and a <code>Mongodb v4.2.x</code>. I need change the database collation in order to set it for being case insensitive for all queries.</p>
  
  <p>I check the doc:</p>
  
  <ul>
  <li><a href="https://docs.spring.io/spring-data/mongodb/docs/current/api/org/springframework/data/mongodb/core/query/Collation.html" rel="nofollow noreferrer">https://docs.spring.io/spring-data/mongodb/docs/current/api/org/springframework/data/mongodb/core/query/Collation.html</a></li>
  <li><a href="https://docs.spring.io/spring-data/mongodb/docs/2.2.5.RELEASE/reference/html/#mongo.collation" rel="nofollow noreferrer">https://docs.spring.io/spring-data/mongodb/docs/2.2.5.RELEASE/reference/html/#mongo.collation</a></li>
  </ul>
  
  <p>but I don't figure out how use it with reactive templates.</p>
  
  <pre class="lang-kotlin prettyprint-override"><code>@Configuration
  @EnableReactiveMongoRepositories
  class MongoConfig {
  
  // How should I use it?
  
  }
  </code></pre>