This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
""" | |
""" | |
import multiprocessing | |
import boto | |
import os | |
import sys | |
import datetime | |
import logging | |
import Queue |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
{"event_data":[{"key":"ip","value":"2405:204:972e:ce37::1857:f8a0"},{"key":"os_name","value":"android"},{"key":"language","value":"en"},{"key":"uuid","value":"806c4376-7a93-421d-9fd5-9050c405faca"},{"key":"sequence_number","value":"45"},{"key":"item_type","value":"Product"},{"key":"slug","value":"london-steps-stsv_2106_copper-synthetic-casual-heels"},{"key":"permalink","value":"london-steps-stsv-2106-copper-synthetic-casual-heels"},{"key":"image_url","value":"http://images.matlab.com/73102441/london-steps-stsv-2106-copper-synthetic-casual-heel-product.jpg?1474176787"},{"key":"name","value":"London Steps STSV_2106_Copper Synthetic Casual Heels"},{"key":"brand","value":"London Steps"},{"key":"title","value":"London Steps STSV_2106_Copper Synthetic Casual Heels"},{"key":"like_count","value":"78"},{"key":"category","value":"Stilettos & heel"},{"key":"category_id","value":"246"},{"key":"discount","value":"50"},{"key":"price","value":"Rs. 699"},{"key":"original_price","value":"Rs. 1399"},{"key":"seller","value":"St |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
const nr = require('newrelic'); | |
/* const instrumentKafkaClient = require('../instruments').instrumentKafkaClient; | |
nr.instrumentMessages( | |
'kafka-java-bridge', | |
instrumentKafkaClient, | |
kafkaInstrumentationError = (err) => { | |
console.error(err.message, err.stack); | |
process.exit(-1); | |
} |