<commit_before><% num_zookeepers = 3 %>
<% num_kafka_brokers = 3 %>
<% deployment_name = "kafka-google-gce" %>
<% zookeeper_deployment_name = "zookeeper-google-gce" %>
<% tld = "microbosh" %>
<% release_name = "kafka-boshrelease" %>
<% director_uuid = "CHANGE_ME" %>
---
compilation:
  cloud_properties:
     machine_type: n1-highcpu-2
  network: private
  reuse_compilation_vms: true
  workers: 6
name:  <%= deployment_name %>
director_uuid: <%= director_uuid %>

jobs:
  - name: kafka
    instances: <%= num_kafka_brokers %>

    templates:
      - name: kafka
        release: <%= release_name %>

    resource_pool: vms

    networks:
      - name: private
        type: dynamic
        cloud_properties:
          network_name: default
          tags:
            - zookeeper

    properties:
      zookeeper:
        servers:
          <% num_zookeepers.times do |i| %>
            <%= "- #{i}.zookeeper.private.#{zookeeper_deployment_name}.#{tld}\n" %>
          <% end %>
      kafka:
        brokers:
          <% num_kafka_brokers.times do |i| %>
            <%= "- #{i}.kafka.private.#{deployment_name}.#{tld}\n" %>
          <% end %>


meta:
  environment: <%= deployment_name %>
  stemcell:
    name: bosh-google-kvm-ubuntu-trusty-go_agent
    version: latest

networks:
  - name: private
    type: dynamic
    cloud_properties:
      network_name: default
      ephemeral_external_ip: false
      ip_forwarding: false
      tags:
        - kafka

releases:
- name: <%= release_name %>
  version: latest

resource_pools:
  - name: vms
    network: private
    stemcell:
      name: bosh-google-kvm-ubuntu-trusty-go_agent
      version: latest
    cloud_properties:
      machine_type: g1-small
      root_disk_size_gb: 10
      root_disk_type: pd-standard

update:
  canaries: 1
  canary_watch_time: 1000-30000
  max_in_flight: 50
  update_watch_time: 1000-30000<commit_msg>fixes<commit_after><% num_zookeepers = 3 %>
<% num_kafka_brokers = 3 %>
<% deployment_name = "kafka-google-gce" %>
<% zookeeper_deployment_name = "zookeeper-google-gce" %>
<% tld = "microbosh" %>
<% release_name = "kafka-boshrelease" %>
<% director_uuid = "CHANGE_ME" %>
---
compilation:
  cloud_properties:
     machine_type: n1-highcpu-2
  network: default
  reuse_compilation_vms: true
  workers: 6
name:  <%= deployment_name %>
director_uuid: <%= director_uuid %>

jobs:
  - name: kafka
    instances: <%= num_kafka_brokers %>

    templates:
      - name: kafka
        release: <%= release_name %>

    resource_pool: vms

    networks:
      - name: default
        type: dynamic
        cloud_properties:
          network_name: default
          tags:
            - zookeeper

    properties:
      zookeeper:
        servers:
          <% num_zookeepers.times do |i| %>
            <%= "- #{i}.zookeeper.default.#{zookeeper_deployment_name}.#{tld}\n" %>
          <% end %>
      kafka:
        brokers:
          <% num_kafka_brokers.times do |i| %>
            <%= "- #{i}.kafka.default.#{deployment_name}.#{tld}\n" %>
          <% end %>


meta:
  environment: <%= deployment_name %>
  stemcell:
    name: bosh-google-kvm-ubuntu-trusty-go_agent
    version: latest

networks:
  - name: default
    type: dynamic
    cloud_properties:
      network_name: default
      ephemeral_external_ip: false
      ip_forwarding: false
      tags:
        - kafka

releases:
- name: <%= release_name %>
  version: latest

resource_pools:
  - name: vms
    network: default
    stemcell:
      name: bosh-google-kvm-ubuntu-trusty-go_agent
      version: latest
    cloud_properties:
      machine_type: g1-small
      root_disk_size_gb: 10
      root_disk_type: pd-standard

update:
  canaries: 1
  canary_watch_time: 1000-30000
  max_in_flight: 50
  update_watch_time: 1000-30000
{'fraction_non_alphanumeric': 0.12367303609341826, 'fraction_numerical': 0.015392781316348195, 'mean_word_length': 2.525724976613658, 'pattern_counts': {'":': 0, '<': 41, '<?xml version=': 0, '>': 41, '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': '5084284', 'n_tokens_mistral': 1438, 'n_tokens_neox': 1289, 'n_words': 237}