<commit_before>'use strict';


var P = require('bluebird');
var preq = require('preq');
var domino = require('domino');
var sUtil = require('../lib/util');
var kafka = P.promisifyAll(require('kafka-node'));
var HighLevelProducer = kafka.HighLevelProducer;
var KeyedMessage = kafka.KeyedMessage;

var options = {
    connectionString: undefined, //"kafka-event-bus.services.eqiad.wmflabs:2181/kafka/kafka-event-bus",
    clientId: 0
};

var client = new kafka.Client(options.connectionString,
        options.clientId, options);
var producer = new HighLevelProducer(client);

producer.on('ready', function() {
    console.log('kafka ready');
});

producer.on('error', console.log);


// shortcut
var HTTPError = sUtil.HTTPError;

/**
 * The main router object
 */
var router = sUtil.router();

/**
 * The main application object reported when this module is require()d
 */
var app;



var exampleSchema = {
	"title": "Example Schema",
	"type": "object",
	"properties": {
		"url": {
			"type": "string"
		},<commit_msg>Minor cleanup: remove unused imports<commit_after>'use strict';

var P = require('bluebird');
var sUtil = require('../lib/util');
var kafka = P.promisifyAll(require('kafka-node'));
var HighLevelProducer = kafka.HighLevelProducer;
var KeyedMessage = kafka.KeyedMessage;

var options = {
    connectionString: undefined, //"kafka-event-bus.services.eqiad.wmflabs:2181/kafka/kafka-event-bus",
    clientId: 0
};

var client = new kafka.Client(options.connectionString,
        options.clientId, options);
var producer = new HighLevelProducer(client);

producer.on('ready', function() {
    console.log('kafka ready');
});

producer.on('error', console.log);


// shortcut
var HTTPError = sUtil.HTTPError;

/**
 * The main router object
 */
var router = sUtil.router();

/**
 * The main application object reported when this module is require()d
 */
var app;

var exampleSchema = {
	"title": "Example Schema",
	"type": "object",
	"properties": {
		"url": {
			"type": "string"
		},
{'fraction_non_alphanumeric': 0.15897693079237712, 'fraction_numerical': 0.0050150451354062184, 'mean_word_length': 4.391891891891892, 'pattern_counts': {'":': 10, '<': 3, '<?xml version=': 0, '>': 3, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '6220483', 'n_tokens_mistral': 672, 'n_tokens_neox': 658, 'n_words': 158}