<commit_before>var kafka       = require('kafka-node'),
    uuid        = require('uuid'),
    offsets     = require('../lib/offsets.js'),
    config      = require('../config'),
    consumers   = require('../lib/consumers.js'),
    topics      = require('../lib/topics.js'),
    log         = require('../logger.js'),
    logger      = log.logger,

<commit_msg>check topic exists before initialising consumer and move timeout to consumer manager.<commit_after>var kafka       = require('kafka-node'),
    uuid        = require('uuid'),
    offsets     = require('../lib/offsets.js'),
    config      = require('../config'),
    consumers   = require('../lib/consumers.js'),
    topics      = require('../lib/topics.js'),
    log         = require('../logger.js').logger,

{'fraction_non_alphanumeric': 0.18264248704663213, 'fraction_numerical': 0.0, 'mean_word_length': 2.220833333333333, 'pattern_counts': {'":': 0, '<': 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': '1969246', 'n_tokens_mistral': 221, 'n_tokens_neox': 224, 'n_words': 43}