<commit_before># MQTT Broker configuration

# Broker

# This is the broker id, please make sure each broker instance used a different id
broker.id = 1

# This is the ip address the broker will bind to
# Use 0.0.0.0 to bind to all possible ip addresses
mqtt.host = 0.0.0.0

# This is the network port the broker will bind to
# The MQTT Protocol Specification recommended using port 1883
mqtt.port = 1883

# To use ssl in the connection, set this to true
# Must provide an X.509 certificate chain file in PEM format
# Must provide a PKCS#8 private key file in PEM format
mqtt.ssl.enabled = false

# This is the network port the broker will bind to when ssl is used
# The MQTT Protocol Specification recommended using port 8883
mqtt.ssl.port = 8883

# X.509 certificate chain file path
# mqtt.ssl.certPath =

# A PKCS#8 private key file path
# mqtt.ssl.keyPath =

# The password of the key File
# mqtt.ssl.keyPassword =

# These are the default and maximum time interval that client is permitted to be idled
# Time interval measured in seconds
# Please note, client's keep alive value in CONNECT will override this
mqtt.keepalive.default = 120
mqtt.keepalive.max = 65535

# These are regexp validator for MQTT packet field
# Fields will validate against the regexp whenever a new message is received
# Leave empty to skip the validation
mqtt.clientId.validator = ^[ -~]+$
mqtt.userName.validator = ^[ -~]+$
mqtt.password.validator = ^[ -~]+$
mqtt.topicName.validator = ^[ -~]+$
mqtt.topicFilter.validator = ^[ -~]+$

# To collect broker metrics, set this to true
# Must provide InfluxDB settings
mqtt.metrics.enabled = false


# Netty

# Netty channel options
netty.soBacklog = 128
netty.soKeepAlive = true


# InfluxDB

# Database Url
# Format like: http://host:port
influxdb.url = http://127.0.0.1:8086

# Database name will be used to store MQTT broker metrics
influxdb.dbname = mqtt_metrics

# User name
influxdb.username = root

# Password
influxdb.password = <PASSWORD>

# Batching writes to the InfluxDB.
# If either actions or durations (milliseconds) is reached, a write is issued.
influxdb.actions = 10
influxdb.durations = 1000
<commit_msg>Remove metric config from broker.properties; Related issue #34;<commit_after># MQTT Broker configuration

# Broker

# This is the broker id, please make sure each broker instance used a different id
broker.id = 1

# This is the ip address the broker will bind to
# Use 0.0.0.0 to bind to all possible ip addresses
mqtt.host = 0.0.0.0

# This is the network port the broker will bind to
# The MQTT Protocol Specification recommended using port 1883
mqtt.port = 1883

# To use ssl in the connection, set this to true
# Must provide an X.509 certificate chain file in PEM format
# Must provide a PKCS#8 private key file in PEM format
mqtt.ssl.enabled = false

# This is the network port the broker will bind to when ssl is used
# The MQTT Protocol Specification recommended using port 8883
mqtt.ssl.port = 8883

# X.509 certificate chain file path
# mqtt.ssl.certPath =

# A PKCS#8 private key file path
# mqtt.ssl.keyPath =

# The password of the key File
# mqtt.ssl.keyPassword =

# These are the default and maximum time interval that client is permitted to be idled
# Time interval measured in seconds
# Please note, client's keep alive value in CONNECT will override this
mqtt.keepalive.default = 120
mqtt.keepalive.max = 65535

# These are regexp validator for MQTT packet field
# Fields will validate against the regexp whenever a new message is received
# Leave empty to skip the validation
mqtt.clientId.validator = ^[ -~]+$
mqtt.userName.validator = ^[ -~]+$
mqtt.password.validator = ^[ -~]+$
mqtt.topicName.validator = ^[ -~]+$
mqtt.topicFilter.validator = ^[ -~]+$


# Netty

# Netty channel options
netty.soBacklog = 128
netty.soKeepAlive = true

{'fraction_non_alphanumeric': 0.07805519053876478, 'fraction_numerical': 0.0278580814717477, 'mean_word_length': 4.041059602649007, 'pattern_counts': {'":': 0, '<': 4, '<?xml version=': 0, '>': 4, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 5, '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': '131735', 'n_tokens_mistral': 1259, 'n_tokens_neox': 1183, 'n_words': 495}