GWicke added a comment.

@faidon: Until very recently (last days), there wasn't actually any REST proxy 
with schema validation  in the EventLogging repository. @ottomata now has a 
patch implementing such a service 
<https://gerrit.wikimedia.org/r/#/c/235671/24/server/bin/eventlogging-service>, 
and @mobrovac has left comments on it today. So, it looks like we'll have the 
option of choosing between two new services implementing the same API. I don't 
see having two implementations of a simple service as a bad thing. As 
mentioned, we might want to use a single node process exposing parsoid, 
restbase & eventbus for small (third party) installs, but might as well use the 
new EventLogging service in production.

There are still loose ends to be tied in the API and event schema definitions, 
and I think that should be our focus. The implementation deserves attention 
too, but it's easy to swap & a few hundred lines each.

Replacing all of EventLogging is pretty much out of scope for EventBus. The 
focus is on queuing and event validation, and not on other EventLogging 
features like Varnish log decoding, analytics databases etc. If desired, we 
could fairly easily add HTTP event production in EL, which would write to 
EventBus instead of directly to Kafka. However, I personally think it's fine to 
let trusted producers write directly to Kafka, especially for internal 
applications. The current EL instance is producing to a separate (analytics) 
Kafka cluster in any case, so there is no potential for conflicts with 
non-analytics use cases.


TASK DETAIL
  https://phabricator.wikimedia.org/T114443

EMAIL PREFERENCES
  https://phabricator.wikimedia.org/settings/panel/emailpreferences/

To: Ottomata, GWicke
Cc: Milimetric, RobLa-WMF, brion, intracer, Smalyshev, mark, MZMcBride, 
Krinkle, EBernhardson, bd808, Joe, dr0ptp4kt, madhuvishy, Nuria, ori, faidon, 
aaron, GWicke, mobrovac, Eevans, Ottomata, Matanya, Aklapper, JAllemandou, 
jkroll, Hardikj, Wikidata-bugs, Jdouglas, aude, Deskana, Manybubbles, daniel, 
Mbch331, Jay8g, Ltrlg, jeremyb, Legoktm



_______________________________________________
Wikidata-bugs mailing list
Wikidata-bugs@lists.wikimedia.org
https://lists.wikimedia.org/mailman/listinfo/wikidata-bugs

Reply via email to