Skip to content

TOML Config Support #4161

Open
Open

Description

@misgender

Is your feature request related to a problem? Please describe.

My application uses TOML for its configurations and it would be nice if the Redisson configs were TOML too. TOML is an INI-like human-readable config language that's increasing in popularity.

Here's some references on TOML:

Describe the solution you'd like

TOML support should be added to Redisson Config using Jackson.

Redisson Config seems to use Jackson to handle JSON and YAML. As of Jackson 2.13, jackson-dataformats-text supports TOML in addition to YAML. It seems that Redisson upgraded to Jackson 2.13 with commit 3f457c9 on Dec 21, 2021.

By adding the TOML backend, jackson-dataformats-toml, the TomlFactory type can be used similar to how the YAMLFactory type is used in org.redisson.config.ConfigSupport.

Describe alternatives you've considered

Current workaround is to not use TOML and have Redisson's configs stored in YAML. Resulting in my application requiring multiple config formats.

Activity

  1. added this to the 3.16.9 milestone on Mar 1, 2022
  2. modified the milestones: 3.16.9, 3.17.1 on Mar 24, 2022
  3. modified the milestones: 3.17.1, 3.17.2 on Apr 26, 2022
  4. modified the milestones: 3.17.2, 3.17.3 on May 23, 2022
  5. modified the milestones: 3.17.3, 3.17.4 on May 30, 2022
  6. modified the milestones: 3.17.4, 3.17.5 on Jun 16, 2022
  7. removed this from the 3.17.5 milestone on Jul 26, 2022
  8. 12 remaining items

  9. added this to the 3.19.2 milestone on Jan 6, 2023
  10. modified the milestones: 3.19.2, 3.19.3, 3.19.4 on Feb 2, 2023
  11. modified the milestones: 3.19.4, 3.20.1 on Mar 2, 2023
  12. modified the milestones: 3.20.1, 3.20.2 on Mar 28, 2023
  13. modified the milestones: 3.21.0, 3.21.1 on May 1, 2023
  14. modified the milestones: 3.21.1, 3.21.2 on May 12, 2023
  15. modified the milestones: 3.21.2, 3.12.x on May 19, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions