Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Feature flags for Java #16419

Open
annikaschmid opened this issue Jul 7, 2023 · 3 comments
Open

Feature flags for Java #16419

annikaschmid opened this issue Jul 7, 2023 · 3 comments
Labels
enhancement New feature or request feature/feature-flags Feature Tag: Feature flags team/feature-flags

Comments

@annikaschmid
Copy link

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
Copy link

miguelhrocha commented Jun 2, 2024

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. feat: feature flag polling for local evaluation (1/4) posthog-java#54
  2. feat: integrate feature flag poller to PostHog client (2/4) posthog-java#55
  3. feat: send feature flag event to product analytics (3/4) posthog-java#56
  4. feat: get all feature flags related to a distinct_id (4/4) posthog-java#57
  5. feat: Java SDK feature flags posthog.com#8593

CC @jamesefhawkins a follow up of our Friday conversation 😄

@Hronom
Copy link

Hronom commented Aug 15, 2024

When will this be done?

It's important because on java usually written backends, where one of the main things - activation of some logic based on Feature Flags

@Hronom
Copy link

Hronom commented Aug 20, 2024

Also I would like to add, that we need local evaluation support for FF too, so we don't need to care about how many call's we generate to /decide endpoint. Otherwise it makes production integration in Java hard to do.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request feature/feature-flags Feature Tag: Feature flags team/feature-flags
Projects
None yet
Development

No branches or pull requests

4 participants