Pick Serializer using properties
Nessuno ha ancora preso questa issue.
Valutazione
- Difficoltà
- 3/5
- Tempo stimato
- 1-2 giorni
- Idoneità per principianti
- 45/100
Direzione di ricerca
Inizia confrontando core-api/src/main/java/com/optimizely/ab/config/parser/DefaultConfigParser.java con core-api/src/main/java/com/optimizely/ab/event/internal/serializer/DefaultJsonSerializer.java, concentrandoti su come optimizely.properties seleziona un serializer. Conferma che la serializzazione degli eventi possa rispettare la stessa selezione e verifica che le configurazioni GSON e Jackson funzionino in modo coerente.
Scritto dal modello di indicizzazione a partire dal testo della issue.
Descrizione
Hello Optimizely team:
We have encountered issues while working with Optimizely. The SDK allows to use two different serialisers in an uncontrolled way, by letting you pick one using optimizely.properties (in out experience, it is used while retrieving your organisation experiments file, I don't know for what else it is used):
DefaultConfigParser
But in this one where the events are raised, since it is an if/else structure, you have no control over it, and in our case it does not work because we use a Jackson version previous to 2.7, throwing an exception while trying to create it with the SNAKE_CASE property (one exception that we will avoid if GSON could be chosen):
DefaultJsonSerializer
I feel like this is an inconsistency and since it is already implemented for one scenario, it should be paired for the event ones.
We also know that this is our fault for not using that Jackson version, but it is done in a service where that specific library is almost impossible to update... We have discarded the idea of integrating Optimizely in that specific service, but we thought that it was important to let you know this weird behaviour where you can have GSON (or any other one) + Jackson (or any other one) working simultaneously.
Thanks for reading, let us know if you change anything about this!
- Lingua principale
- Java
- Stelle
- 44
- Fork
- 32
- Merge medio
- 8h 39m
- PR unite (30g)
- 1
Guida per i contributori
Apri la guida per i contributori
Come iniziare
- Leggi tutta la issue e poi la guida ai contributi del progetto.
- Commenta sulla issue per dire che te ne occupi tu — evita che due persone facciano lo stesso lavoro.
- Fai un fork del repository e lavora su un branch.
- Apri una pull request che faccia riferimento al numero della issue.
Altre issue di optimizely/java-sdk
-
acknowledged bug
Difficoltà 3/5 1-2 giorni Idoneità per principianti 55/100
optimizely/java-sdk#622 · 1 commento ·
-
bug
Difficoltà 2/5 1-3 ore Idoneità per principianti 55/100
optimizely/java-sdk#574 ·
-
bug
Difficoltà 2/5 1-3 ore Idoneità per principianti 35/100
optimizely/java-sdk#568 ·
-
Difficoltà 4/5 3-5 giorni Idoneità per principianti 35/100
optimizely/java-sdk#564 · 1 commento · 16 reazioni ·
-
acknowledged
Difficoltà 3/5 1-2 giorni Idoneità per principianti 35/100
optimizely/java-sdk#525 ·
Tutte le issue di optimizely/java-sdk
Issue simili
-
Bug Java Platform: Java
Difficoltà 2/5 1-3 ore Idoneità per principianti 78/100
getsentry/sentry-java#6138 · 1 commento ·
-
bug needs triage p2
Difficoltà 2/5 1-3 ore Idoneità per principianti 78/100
GoogleCloudPlatform/DataflowTemplates#4273 · 1 commento ·
-
[Studio][Bug] Bulk-deleting a full page of alert rules steps the page back while more rules remain Aperta
Difficoltà 2/5 1-3 ore Idoneità per principianti 78/100
apache/rocketmq-dashboard#4654 · 1 commento ·
-
Difficoltà 2/5 1-3 ore Idoneità per principianti 78/100
-
Difficoltà 2/5 1-3 ore Idoneità per principianti 76/100