Skip to content

Commit

Permalink
Listen for RPC events on different topic (#39)
Browse files Browse the repository at this point in the history
Signed-off-by: Kevin Hoffman <autodidaddict@users.noreply.github.com>

Signed-off-by: Kevin Hoffman <autodidaddict@users.noreply.github.com>
  • Loading branch information
autodidaddict authored Nov 9, 2022
1 parent ec38881 commit 53ca23e
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 1 deletion.
2 changes: 2 additions & 0 deletions wadm/lib/wadm/lattice_supervisor.ex
Original file line number Diff line number Diff line change
Expand Up @@ -70,6 +70,8 @@ defmodule Wadm.LatticeSupervisor do
connection_name: lattice_id,
module: Wadm.LatticeEventListener,
subscription_topics: [
%{topic: "*.wasmbus.rpcevt.*", queue_group: "wadmevtmon"},
%{topic: "wasmbus.rpcevt.*", queue_group: "wadmevtmon"},
%{topic: "*.wasmbus.evt.*", queue_group: "wadmevtmon"},
%{topic: "wasmbus.evt.*", queue_group: "wadmevtmon"}
]
Expand Down
2 changes: 1 addition & 1 deletion wadm/mix.exs
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ defmodule Wadm.MixProject do
def project do
[
app: :wadm,
version: "0.3.0",
version: "0.3.1",
elixir: "~> 1.13",
start_permanent: Mix.env() == :prod,
elixirc_paths: compiler_paths(Mix.env()),
Expand Down

0 comments on commit 53ca23e

Please sign in to comment.