dcausse added a comment.

  Tested sending an event to eventgate in beta generated by new code:
  
    curl -XPOST -H"Content-Type: application/json; charset=UTF-8" 
http://deployment-eventgate-3.deployment-prep.eqiad.wmflabs:8192/v1/events -d 
'[{"namespace":"ns123","query":"select","format":"xml","params":{"foo":"bar","baz":"bat,bats\\,\\\\qux"},"meta":{"id":"00000000-0000-0001-0000-000000000002","dt":"1970-01-01T00:00:00Z","request_id":"the_request_id","domain":"hostname.domain.local","stream":"mystream.name"},"http":{"method":"POST","clientIp":"10.1.2.3","request_headers":{"Accept":"application/json","X-Request-Id":"the_request_id","X-Custom":"one,two\\,t\\\\hree"},"status_code":200,"has_cookies":true},"backend_host":"hostname.domain.local","query_time":1000,"$schema":"/sparql/query/1.0.0"}]'
  
  And I could see it in kafka:
  
    dcausse@deployment-kafka-jumbo-1:~$ kafkacat -b localhost:9092 -t 
eqiad.mystream.name
    % Auto-selecting Consumer mode (use -P or -C to override)
    
{"namespace":"ns123","query":"select","format":"xml","params":{"foo":"bar","baz":"bat,bats\\,\\\\qux"},"meta":{"id":"00000000-0000-0001-0000-000000000002","dt":"1970-01-01T00:00:00Z","request_id":"the_request_id","domain":"hostname.domain.local","stream":"mystream.name"},"http":{"method":"POST","clientIp":"10.1.2.3","request_headers":{"Accept":"application/json","X-Request-Id":"the_request_id","X-Custom":"one,two\\,t\\\\hree"},"status_code":200,"has_cookies":true},"backend_host":"hostname.domain.local","query_time":1000,"$schema":"/sparql/query/1.0.0"}
  
  Sorry about this stupid queue name, I forgot to change what the unit test 
generates, I could not find a way to delete this topic as I failed to find the 
zookeeper instance that holds this metadata.

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

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

To: dcausse
Cc: Igorkim78, JAllemandou, Ottomata, Smalyshev, Deskana, Aklapper, 4748kitoko, 
Hook696, Daryl-TTMG, RomaAmorRoma, 0010318400, E.S.A-Sheild, darthmon_wmde, 
holger.knust, Meekrab2012, joker88john, ET4Eva, DannyS712, CucyNoiD, Nandana, 
NebulousIris, Akovalyov, Gaboe420, Versusxo, Majesticalreaper22, Giuliamocci, 
Adrian1985, Cpaulf30, Lahi, Gq86, Af420, Darkminds3113, Bsandipan, Lordiis, 
Lucas_Werkmeister_WMDE, GoranSMilovanovic, Adik2382, Th3d3v1ls, Ramalepe, 
Liugev6, QZanden, EBjune, merbst, LawExplorer, WSH1906, Avner, Lewizho99, 
Maathavan, Gehel, _jensen, rosalieper, Scott_WUaS, Cirdan, Jonas, FloNight, 
Xmlizer, mobrovac, terrrydactyl, jkroll, Wikidata-bugs, Jdouglas, aude, 
Tobias1984, GWicke, Manybubbles, Mbch331, jeremyb
_______________________________________________
Wikidata-bugs mailing list
[email protected]
https://lists.wikimedia.org/mailman/listinfo/wikidata-bugs

Reply via email to