code: @Subscribe
      @SneakyThrows
      public final synchronized void renew(final DataSourceChangedEvent dataSourceChangedEvent) {
          dataSource.close();
          dataSource = new MasterSlaveDataSource(
                  DataSourceConverter.getDataSourceMap(dataSourceChangedEvent.getDataSourceConfigurations()), dataSource.getMasterSlaveRule(), dataSource.getShardingProperties().getProps());
      }
docs: Renew master-slave data source.
  
  @param dataSourceChangedEvent data source changed event