Skip to content
/ h2o Public
forked from h2o/h2o

H2O - the optimized HTTP/1, HTTP/2 server

License

Notifications You must be signed in to change notification settings

9il/h2o

 
 

Repository files navigation

Kafka patch example [WIP]
# to find out the configuration commands, run: h2o --help

listen: 8080
listen:
  port: 8081
  ssl:
    certificate-file: examples/h2o/server.crt
    key-file: examples/h2o/server.key
hosts:
  "127.0.0.1.xip.io:8080":
    paths:
      /:
        file.dir: examples/doc_root
    access-log: /dev/stdout
    kafka-log:
      metadata.broker.list: localhost
      group.id: rdkafkad
      <... other_kafka_configs>
      topic:
        name: h2o-kafka <required>
        message: <optional_format_string>
        key: <optional_format_string>
        partition_hash: <optional_format_string>
        partition: <optional_integer>
        <... other_kafka_topic_configs>
      topic:
        name: h2o-kafka-2 <required>
        message: <optional_format_string>
        key: <optional_format_string>
        partition_hash: <optional_format_string>
        partition: <optional_integer>
        <... other_kafka_topic_configs>
  "alternate.127.0.0.1.xip.io:8081":
    listen:
      port: 8081
      ssl:
        certificate-file: examples/h2o/alternate.crt
        key-file: examples/h2o/alternate.key
    paths:
      /:
        file.dir: examples/doc_root.alternate
    access-log: /dev/stdout

H2O - an optimized HTTP server with support for HTTP/1.x and HTTP/2

Build Status

Copyright (c) 2014-2016 DeNA Co., Ltd., Kazuho Oku, Tatsuhiko Kubo, Domingo Alvarez Duarte, Nick Desaulniers, Marc Hörsken, Masahiro Nagano, Jeff Marrison, Daisuke Maki, Laurentiu Nicola, Justin Zhu, Tatsuhiro Tsujikawa, Ryosuke Matsumoto, Masaki TAGAWA, Masayoshi Takahashi, Chul-Woong Yang, Shota Fukumori, Satoh Hiroh, Fastly, Inc., David Carlier

H2O is a new generation HTTP server. Not only is it very fast, it also provides much quicker response to end-users when compared to older generations of HTTP servers.

Written in C and licensed under the MIT License, it can also be used as a library.

For more information, please refer to the documentation at h2o.examp1e.net.

About

H2O - the optimized HTTP/1, HTTP/2 server

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages

  • C 66.7%
  • Perl 13.5%
  • Mathematica 6.1%
  • C++ 6.1%
  • Shell 2.4%
  • Ruby 2.0%
  • Other 3.2%