<commit_before>#!/bin/bash

set -e

/opt/apache-kafka/bin/zookeeper-server-start.sh -daemon config/zookeeper.properties
/opt/apache-kafka/bin/kafka-server-start.sh -daemon config/server.properties<commit_msg>enable, accept remote client request<commit_after>#!/bin/bash

set -e

SERVER_ADDRESS=`hostname -i`

perl -wpi -e 's!^#listeners=PLAINTEXT://:9092!listeners=PLAINTEXT://'${SERVER_ADDRESS}':9092!' config/server.properties

/opt/apache-kafka/bin/zookeeper-server-start.sh -daemon config/zookeeper.properties
/opt/apache-kafka/bin/kafka-server-start.sh -daemon config/server.properties
{'fraction_non_alphanumeric': 0.15423728813559323, 'fraction_numerical': 0.013559322033898305, 'mean_word_length': 5.354838709677419, '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': '3846788', 'n_tokens_mistral': 226, 'n_tokens_neox': 214, 'n_words': 28}