-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
This rewrites all of the Kafee modules to support async producing to Kafka. **Breaking changes**: This rewrites Kafka. Time to relearn everything!
- Loading branch information
Showing
35 changed files
with
1,827 additions
and
624 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,15 @@ | ||
%Doctor.Config{ | ||
ignore_modules: [], | ||
ignore_paths: [], | ||
min_module_doc_coverage: 80, | ||
min_module_spec_coverage: 50, | ||
min_overall_doc_coverage: 80, | ||
min_overall_spec_coverage: 80, | ||
moduledoc_required: true, | ||
exception_moduledoc_required: true, | ||
raise: true, | ||
reporter: Doctor.Reporters.Full, | ||
struct_type_spec_required: true, | ||
umbrella: false, | ||
failed: false | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -63,3 +63,5 @@ tags | |
[._]*.un~ | ||
|
||
# End of https://www.toptal.com/developers/gitignore/api/elixir,phoenix,vim,macosx | ||
|
||
.vscode |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,2 +1,2 @@ | ||
elixir 1.13 | ||
erlang 25 | ||
elixir 1.14 | ||
erlang 25.0 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,12 +1,17 @@ | ||
defmodule Kafee.Application do | ||
@moduledoc false | ||
@moduledoc """ | ||
Starts up application global processes, like the `Kafee.Producer.AsyncRegistry`. | ||
""" | ||
|
||
use Application | ||
|
||
@doc false | ||
@spec start(Application.start_type(), term()) :: {:ok, pid} | {:error, term()} | ||
def start(_type, _args) do | ||
children = [] | ||
children = [ | ||
{Registry, keys: :unique, name: Kafee.Producer.AsyncRegistry} | ||
] | ||
|
||
opts = [strategy: :one_for_one, name: Kafee.Supervisor] | ||
Supervisor.start_link(children, opts) | ||
Supervisor.start_link(children, strategy: :one_for_one) | ||
end | ||
end |
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
Oops, something went wrong.