<commit_before>{
    "apiVersion": "v1",
    "items": [
        {
            "apiVersion": "v1",
            "kind": "Service",
            "metadata": {
                "creationTimestamp": null,
                "labels": {
                    "app": "kafka",
		    "service" : "kafka"
                },
                "name": "kafka-service"
            },
            "spec": {
                "ports": [
                    {
                        "name": "kafka-port",
                        "port": 9092,
                        "protocol": "TCP",
                        "targetPort": 9092,
                        "nodePort": 30010
                    }
                ],
                "selector": {
                    "app": "kafka"
                },
                "sessionAffinity": "None",
                "type": "NodePort"
            }
        },
        {
            "apiVersion": "v1",
            "kind": "ReplicationController",
            "metadata": {
                "creationTimestamp": null,
                "labels": {
                    "app": "kafka",
		    "service" : "kafka"
                },
                "name": "kafka-controller"
            },
            "spec": {
                "replicas": 1,
                "selector": {
                    "app": "kafka"
                },
                "template": {
                    "metadata": {
                        "creationTimestamp": null,
                        "labels": {
                            "app": "kafka"
                        }
                    },
                    "spec": {
                        "containers": [
                            {
                                "env": [
                                    {
                                        "name": "KAFKA_BROKER_ID",
                                        "value": "1"
                                    },
                                    {
                                        "name": "KAFKA_ADVERTISED_PORT",
                                        "value": "9092"
                                    },
                                    {
                                        "name": "KAFKA_ADVERTISED_HOST_NAME",
					"valueFrom": {
					    "fieldRef": {
						"apiVersion": "v1",
						"fieldPath": "status.podIP"
					    }
					}
                                    },
                                    {
                                        "name": "KAFKA_ZOOKEEPER_CONNECT",
                                        "value": "zookeeper-1"
                                    },
                                    {
                                        "name": "KAFKA_CREATE_TOPICS",
                                        "value": "events:2:1,predictions:2:1"
                                    }
                                ],
                                "image": "jerryjung/kafka:latest",
                                "imagePullPolicy": "IfNotPresent",
                                "name": "kafka",
                                "ports": [
                                    {
                                        "containerPort": 9092,
                                        "protocol": "TCP"
                                    }
                                ],
                                "resources": {},
                                "terminationMessagePath": "/dev/termination-log"
                            }
                        ],
                        "dnsPolicy": "ClusterFirst",
                        "restartPolicy": "Always",<commit_msg>Modified kafka cluster yaml<commit_after>{
    "apiVersion": "v1",
    "items": [
        {
            "apiVersion": "v1",
            "kind": "Service",
            "metadata": {
                "creationTimestamp": null,
                "labels": {
                    "app": "kafka",
		    "service" : "kafka"
                },
                "name": "kafka-service"
            },
            "spec": {
                "ports": [
                    {
                        "name": "kafka-port",
                        "port": 9092,
                        "protocol": "TCP",
                        "targetPort": 9092,
                        "nodePort": 30010
                    }
                ],
                "selector": {
                    "app": "kafka"
                },
                "sessionAffinity": "None",
                "type": "NodePort"
            }
        },
        {
            "apiVersion": "v1",
            "kind": "ReplicationController",
            "metadata": {
                "creationTimestamp": null,
                "labels": {
                    "app": "kafka",
		    "service" : "kafka"
                },
                "name": "kafka-controller"
            },
            "spec": {
                "replicas": 1,
                "selector": {
                    "app": "kafka"
                },
                "template": {
                    "metadata": {
                        "creationTimestamp": null,
                        "labels": {
                            "app": "kafka"
                        }
                    },
                    "spec": {
                        "containers": [
                            {
                                "env": [
                                    {
                                        "name": "KAFKA_BROKER_ID",
                                        "value": "1"
                                    },
                                    {
                                        "name": "KAFKA_ADVERTISED_PORT",
                                        "value": "9092"
                                    },
                                    {
                                        "name": "KAFKA_ADVERTISED_HOST_NAME",
					"valueFrom": {
					    "fieldRef": {
						"apiVersion": "v1",
						"fieldPath": "status.podIP"
					    }
					}
                                    },
                                    {
                                        "name": "KAFKA_ZOOKEEPER_CONNECT",
                                        "value": "zookeeper-1,zookeeper-2,zookeeper-3"
                                    },
                                    {
                                        "name": "KAFKA_CREATE_TOPICS",
                                        "value": "events:2:1,predictions:2:1"
                                    }
                                ],
                                "image": "jerryjung/kafka:latest",
                                "imagePullPolicy": "IfNotPresent",
                                "name": "kafka-1",
                                "ports": [
                                    {
                                        "containerPort": 9092,
                                        "protocol": "TCP"
                                    }
                                ],
                                "resources": {},
                                "terminationMessagePath": "/dev/termination-log"
                            },
                            {
                                "env": [
                                    {
                                        "name": "KAFKA_BROKER_ID",
                                        "value": "2"
                                    },
                                    {
                                        "name": "KAFKA_ADVERTISED_PORT",
                                        "value": "9092"
                                    },
                                    {
                                        "name": "KAFKA_ADVERTISED_HOST_NAME",
                                        "valueFrom": {
                                            "fieldRef": {
                                                "apiVersion": "v1",
                                                "fieldPath": "status.podIP"
                                            }
                                        }
                                    },
                                    {
                                        "name": "KAFKA_ZOOKEEPER_CONNECT",
                                        "value": "zookeeper-1,zookeeper-2,zookeeper-3"
                                    },
                                    {
                                        "name": "KAFKA_CREATE_TOPICS",
                                        "value": "events:2:1,predictions:2:1"
                                    }
                                ],
                                "image": "jerryjung/kafka:latest",
                                "imagePullPolicy": "IfNotPresent",
                                "name": "kafka-2",
                                "ports": [
                                    {
                                        "containerPort": 9092,
                                        "protocol": "TCP"
                                    }
                                ],
                                "resources": {},
                                "terminationMessagePath": "/dev/termination-log"
                            },
                            {
                                "env": [
                                    {
                                        "name": "KAFKA_BROKER_ID",
                                        "value": "3"
                                    },
                                    {
                                        "name": "KAFKA_ADVERTISED_PORT",
                                        "value": "9092"
                                    },
                                    {
                                        "name": "KAFKA_ADVERTISED_HOST_NAME",
                                        "valueFrom": {
                                            "fieldRef": {
                                                "apiVersion": "v1",
                                                "fieldPath": "status.podIP"
                                            }
                                        }
                                    },
                                    {
                                        "name": "KAFKA_ZOOKEEPER_CONNECT",
                                        "value": "zookeeper-1,zookeeper-2,zookeeper-3"
                                    },
                                    {
                                        "name": "KAFKA_CREATE_TOPICS",
                                        "value": "events:2:1,predictions:2:1"
                                    }
                                ],
                                "image": "jerryjung/kafka:latest",
                                "imagePullPolicy": "IfNotPresent",
                                "name": "kafka-3",
                                "ports": [
                                    {
                                        "containerPort": 9092,
                                        "protocol": "TCP"
                                    }
                                ],
                                "resources": {},
                                "terminationMessagePath": "/dev/termination-log"
                            }
                        ],
                        "dnsPolicy": "ClusterFirst",
                        "restartPolicy": "Always",
{'fraction_non_alphanumeric': 0.09441350504698921, 'fraction_numerical': 0.008962756700313261, 'mean_word_length': 0.4572080639026246, 'pattern_counts': {'":': 168, '<': 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': 112, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '3597837', 'n_tokens_mistral': 2432, 'n_tokens_neox': 2110, 'n_words': 298}