Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

Define a Strategy interface, then user can pass different strategy implementation. This solution is incompatible with current ConnectorUtils. Current strategy and round-robin strategy are enough for most scenarios, no other strategies are needed, so there is no need to make extension on strategy.