Connect Akto with Envoy
Last updated
COPY --chmod=777 ./lib/rdkafka /rdkafka
ADD --chmod=777 ./lib/aktoModule.lua /lib/aktoModule.lua
RUN apt-get update -y
RUN apt-get install librdkafka-dev luarocks -y
RUN luarocks install lua-cjsonhttp_filters:
- name: lua_filter_with_custom_name_0
typed_config:
"@type": type.googleapis.com/envoy.extensions.filters.http.lua.v3.Lua
default_source_code:
inline_string:
local aktoModule = require("lib.aktoModule")
aktoModule.sendToAkto()AKTO_KAFKA_IP=<AKTO_NLB_IP>:9092