package = "kong-plugin-datakit-log"
version = "0.1.1-1"
-- Versioned source is pinned to the corresponding release tag.
source = {
  url = "git+https://github.com/GuanceCloud/kong-plugin-datakit-log.git",
  tag = "v0.1.1",
}
description = {
  summary = "Send Kong access logs to DataKit Log Streaming",
  detailed = [[
    A Kong Gateway HTTP access-log plugin for DataKit Log Streaming.
    It sends batched NDJSON asynchronously, with bounded worker-local queues,
    configurable retries, service tags and optional Pipeline selection.
    Requires Kong Gateway and its bundled OpenResty libraries; this is not a
    standalone Lua logger. Install kong-log.p separately on the receiving
    DataKit. See the project documentation for deployment instructions.
  ]],
  homepage = "https://github.com/GuanceCloud/kong-plugin-datakit-log",
  license = "Apache-2.0",
}
dependencies = { "lua >= 5.1, < 5.5" }
build = {
  type = "builtin",
  modules = {
    ["kong.plugins.datakit-log.handler"] = "kong/plugins/datakit-log/handler.lua",
    ["kong.plugins.datakit-log.schema"] = "kong/plugins/datakit-log/schema.lua",
    ["kong.plugins.datakit-log.record"] = "kong/plugins/datakit-log/record.lua",
    ["kong.plugins.datakit-log.transport"] = "kong/plugins/datakit-log/transport.lua",
    ["kong.plugins.datakit-log.report"] = "kong/plugins/datakit-log/report.lua",
  },
}
