PostHog / posthog

🦔 PostHog provides open-source product analytics, session recording, feature flagging and A/B testing that you can self-host.
https://posthog.com
Other
19.6k stars 1.15k forks source link

Feature flags for Java #16419

Open annikaschmid opened 1 year ago

annikaschmid commented 1 year ago

The Feature Success team is currently considering extending our official Java library to support feature flags and experiments.

If you like this idea, please leave a 👍 or ❤️ reaction on this post to vote for it -- your votes and feedback help us prioritize what to work on next!

miguelhrocha commented 1 month ago

Hello @annikaschmid !

I understand that there is a proposal to unify the posthog-java and the posthog-android SDK, which makes sense from a code base standpoint. I hope my pull requests help with building the foundations for the base classes, if these end up not being merged.

I just wanted to bring to your attention that I have implemented an MVP version for feature flags in Java. Should be in the following PRs:

  1. https://github.com/PostHog/posthog-java/pull/54
  2. https://github.com/PostHog/posthog-java/pull/55
  3. https://github.com/PostHog/posthog-java/pull/56
  4. https://github.com/PostHog/posthog-java/pull/57
  5. https://github.com/PostHog/posthog.com/pull/8593

CC @jamesefhawkins a follow up of our Friday conversation 😄