diff --git a/CHANGELOG.md b/CHANGELOG.md
new file mode 100644
--- /dev/null
+++ b/CHANGELOG.md
@@ -0,0 +1,3 @@
+# 0.0.1
+## Added
+* First working version
diff --git a/LICENSE b/LICENSE
new file mode 100644
--- /dev/null
+++ b/LICENSE
@@ -0,0 +1,30 @@
+Copyright Author name here (c) 2018
+
+All rights reserved.
+
+Redistribution and use in source and binary forms, with or without
+modification, are permitted provided that the following conditions are met:
+
+    * Redistributions of source code must retain the above copyright
+      notice, this list of conditions and the following disclaimer.
+
+    * Redistributions in binary form must reproduce the above
+      copyright notice, this list of conditions and the following
+      disclaimer in the documentation and/or other materials provided
+      with the distribution.
+
+    * Neither the name of Author name here nor the names of other
+      contributors may be used to endorse or promote products derived
+      from this software without specific prior written permission.
+
+THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS
+"AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT
+LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR
+A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT
+OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,
+SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT
+LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE,
+DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
+THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
+(INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
+OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
diff --git a/README.md b/README.md
new file mode 100644
--- /dev/null
+++ b/README.md
@@ -0,0 +1,11 @@
+# How to use
+
+``` haskell
+let
+  toRecord = simpleRecord "myapp.logs" UnassignedPartition
+  props = brokersList [ BrokerAddress "kafka" ] <> compression Lz4
+kafka <- kafkaScribe toRecord props DebugS V3 >>= either throwIO return
+env <- initLogEnv "myapp" (Environment "devel") >>=
+  registerScribe "kafka" kafka defaultScribeSettings
+finally (runMyApp env) $ closeScribes env
+```
diff --git a/Setup.hs b/Setup.hs
new file mode 100644
--- /dev/null
+++ b/Setup.hs
@@ -0,0 +1,2 @@
+import Distribution.Simple
+main = defaultMain
diff --git a/katip-kafka.cabal b/katip-kafka.cabal
new file mode 100644
--- /dev/null
+++ b/katip-kafka.cabal
@@ -0,0 +1,30 @@
+name:                katip-kafka
+version:             0.0.1
+synopsis:            Katip scribe to send logs to Kafka
+homepage:            https://github.com/s9gf4ult/katip-kafka
+license:             BSD3
+license-file:        LICENSE
+author:              Aleksey Uimanov
+maintainer:          s9gf4ult@gmail.com
+copyright:           2018 Aleksey Uimanov
+category:            Logging
+build-type:          Simple
+extra-source-files:  CHANGELOG.md
+                   , README.md
+cabal-version:       >=1.10
+
+library
+  hs-source-dirs:      src
+  ghc-options:         -Wall
+  default-extensions:  LambdaCase
+  exposed-modules:     Katip.Scribes.Kafka
+  build-depends:       base >= 4.7 && < 5
+                     , aeson
+                     , bytestring
+                     , hw-kafka-client
+                     , katip
+  default-language:    Haskell2010
+
+source-repository head
+  type:     git
+  location: https://github.com/s9gf4ult/katip-kafka
diff --git a/src/Katip/Scribes/Kafka.hs b/src/Katip/Scribes/Kafka.hs
new file mode 100644
--- /dev/null
+++ b/src/Katip/Scribes/Kafka.hs
@@ -0,0 +1,47 @@
+module Katip.Scribes.Kafka where
+
+import Control.Exception
+import Control.Monad
+import Data.Aeson
+import Data.ByteString.Lazy
+import Kafka.Producer
+import Katip
+
+-- | Created scribe uses hw-kafka-client library, which is binding
+-- over librdkafka which in turn implements buffering. Beware to close
+-- this scribe properly
+kafkaScribe
+  :: (Value -> ProducerRecord)
+  -- ^ Kafka record creator
+  -> ProducerProperties
+  -- ^ Producer properties to create Kafka producer
+  -> Severity
+  -> Verbosity
+  -> IO (Either KafkaError Scribe)
+kafkaScribe itemToRecord pp sev verb = newProducer pp >>= \case
+  Left e         -> return $ Left e
+  Right producer -> do
+    let
+      push item = when (permitItem sev item) $ do
+        let
+          obj    = itemJson verb item
+          record = itemToRecord obj
+        produceMessage producer record >>= \case
+          Nothing  -> return ()
+          Just err -> throwIO err
+      fin = do
+        flushProducer producer
+        closeProducer producer
+    return $ Right $ Scribe
+      { liPush          = push
+      , scribeFinalizer = fin
+      }
+
+-- | Kafka record creator function. The key of resulting record is
+-- 'Nothing' by default, you can override it if needed
+simpleRecord :: TopicName -> ProducePartition -> Value -> ProducerRecord
+simpleRecord topic part val = ProducerRecord
+  { prTopic     = topic
+  , prPartition = part
+  , prKey       = Nothing
+  , prValue     = Just $ toStrict $ encode val }
