Skip to content

avvo/kafka_impl

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

42 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

KafkaImpl

A wrapper around KafkaEx so you can mock it in test.

Installation

Available in Hex, the package can be installed as:

  1. Add kafka_impl to your list of dependencies in mix.exs:
```elixir
def deps do
  [{:kafka_impl, "~> 0.1.0"}]
end
```
  1. Ensure kafka_impl is started before your application:
```elixir
def application do
  [applications: [:kafka_impl]]
end
```

Usage

Need more documentation here, but check out kafkamon to see this library in use.

In your config/config.exs, add:

config :kafka_impl, :impl, KafkaImpl.KafkaEx

In your config/test.exs, add:

config :kafka_impl, :impl, KafkaImpl.KafkaMock

About

Interface over KafkaEx for mocking in test

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Contributors 4

  •  
  •  
  •  
  •  

Languages