You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
@@ -91,8 +89,7 @@ The SDK provides different assignment functions based on the type of value you n
91
89
For experiments, you'll need to add an assignment logger (see [`AssignmentLogger`](/sdks/server-sdks/java/assignments#assignment-logger)) when initializing the SDK:
92
90
93
91
```java
94
-
EppoClient.Builder()
95
-
.apiKey(apiKey)
92
+
EppoClient.builder(sdkKey)
96
93
.assignmentLogger(assignmentLogData -> {
97
94
// TODO: Send assignment event data to data warehouse
98
95
System.out.println(assignmentLogData);
@@ -107,8 +104,7 @@ After that, you can make assignments the same way as with feature flags.
107
104
For bandits, you'll need both an [`assignment logger`](/sdks/server-sdks/java/assignments#assignment-logger) and a [`bandit logger`](/sdks/server-sdks/java/bandits#define-a-bandit-assignment-logger):
108
105
109
106
```java
110
-
EppoClient.Builder()
111
-
.apiKey(apiKey)
107
+
EppoClient.builder(sdkKey)
112
108
.assignmentLogger(assignmentLogData -> {
113
109
// TODO: Send assignment event data to data warehouse
0 commit comments