<commit_before>class Kafka < Formula
  desc "Publish-subscribe messaging rethought as a distributed commit log"
  homepage "https://kafka.apache.org/"
  url "https://www.apache.org/dyn/closer.cgi?path=/kafka/2.2.0/kafka_2.12-2.2.0.tgz"
  sha256 "a009624fae678fa35968f945e18e45fbea9a30fa8080d5dcce7fdea726120027"

  bottle do
    cellar :any_skip_relocation
    sha256 "7c56c9ee176a3ea0dcf9adcd9f01fa6f97597f5320796fb9ce8da6d8c1d0f255" => :mojave
    sha256 "7c56c9ee176a3ea0dcf9adcd9f01fa6f97597f5320796fb9ce8da6d8c1d0f255" => :high_sierra
    sha256 "315159da3e2bb3081b975e1258f7ebac185bda44cad845684db02c8a62214a37" => :sierra
  end

  # Related to https://issues.apache.org/jira/browse/KAFKA-2034
  # Since Kafka does not currently set the source or target compability version inside build.gradle
  # if you do not have Java 1.8 installed you cannot used the bottled version of Kafka
  pour_bottle? do
    reason "The bottle requires Java 1.8."
    satisfy { quiet_system("/usr/libexec/java_home --version 1.8 --failfast") }<commit_msg>kafka: update 2.2.0 bottle.<commit_after>class Kafka < Formula
  desc "Publish-subscribe messaging rethought as a distributed commit log"
  homepage "https://kafka.apache.org/"
  url "https://www.apache.org/dyn/closer.cgi?path=/kafka/2.2.0/kafka_2.12-2.2.0.tgz"
  sha256 "a009624fae678fa35968f945e18e45fbea9a30fa8080d5dcce7fdea726120027"

  bottle do
    cellar :any_skip_relocation
    sha256 "429ba5063b009ad8273be2b07c41e298844599d04aad47b2fd755dbfffc247ee" => :mojave
    sha256 "429ba5063b009ad8273be2b07c41e298844599d04aad47b2fd755dbfffc247ee" => :high_sierra
    sha256 "7c751db9429f9f57cc7927fd2e6e77817a61c240593ddcf7759e494982caee6c" => :sierra
  end

  # Related to https://issues.apache.org/jira/browse/KAFKA-2034
  # Since Kafka does not currently set the source or target compability version inside build.gradle
  # if you do not have Java 1.8 installed you cannot used the bottled version of Kafka
  pour_bottle? do
    reason "The bottle requires Java 1.8."
    satisfy { quiet_system("/usr/libexec/java_home --version 1.8 --failfast") }
{'fraction_non_alphanumeric': 0.08604206500956023, 'fraction_numerical': 0.1782982791586998, 'mean_word_length': 4.862745098039215, 'pattern_counts': {'":': 0, '<': 5, '<?xml version=': 0, '>': 9, 'https://': 6, 'lorem ipsum': 0, 'www.': 2, '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': '4691033', 'n_tokens_mistral': 1031, 'n_tokens_neox': 843, 'n_words': 161}