logzio / sawmill

Sawmill is a JSON transformation Java library
Apache License 2.0
116 stars 24 forks source link

DEV-17237 - MMDB licensing issue #221

Closed templatevk closed 4 years ago

templatevk commented 4 years ago

[why] We had a licensing issue with MaxMind geo ip databases that we can't redistribute no more.

[how] The solution is to:

  1. Refactor ConditionalFactoryRegistry & ProcessorFactoryRegistry from singleton to new instance usage.
  2. Add processor factory configuration to inject processor creation stage dependencies.
  3. Introduce a configuration with geo ip database path to use at runtime.
  4. Use test database samples MaxMind provides along with the LICENSE mention.

[todo] Decide if we want geo ip database updates at runtime.