{
  "id": "config-get",
  "title": "ConfigGet",
  "url": "https://redis.io/docs/latest/operate/oss_and_stack/stack-with-enterprise/deprecated-features/gears-v1/jvm/classes/gearsbuilder/config-get/",
  "summary": "Gets the value of a RedisGears configuration setting.",
  "tags": [
    "docs",
    "operate",
    "stack"
  ],
  "last_updated": "2026-04-22T11:55:45+02:00",
  "page_type": "content",
  "content_hash": "4154a6b5b00e9302ce2931d2f53be280765d834df96eaf5e429f4be4297b275b",
  "sections": [
    {
      "id": "overview",
      "title": "Overview",
      "role": "overview",
      "text": "[code example]\n\nGets the value of a RedisGears [configuration setting](https://redis.io/docs/latest/operate/oss_and_stack/stack-with-enterprise/deprecated-features/triggers-and-functions/Configuration).\n\n\nYou can set configuration values when you load the module or use the `RG.CONFIGSET` command."
    },
    {
      "id": "parameters",
      "title": "Parameters",
      "role": "parameters",
      "text": "| Name | Type | Description |\n|------|------|-------------|\n| key | string | The configuration setting to get |"
    },
    {
      "id": "returns",
      "title": "Returns",
      "role": "returns",
      "text": "Returns the configuration value of a RedisGears configuration setting."
    },
    {
      "id": "example",
      "title": "Example",
      "role": "example",
      "text": "[code example]"
    }
  ],
  "examples": [
    {
      "id": "overview-ex0",
      "language": "java",
      "code": "public static java.lang.String configGet​(java.lang.String key)",
      "section_id": "overview"
    },
    {
      "id": "example-ex0",
      "language": "java",
      "code": "GearsBuilder.configGet(\"ExecutionMaxIdleTime\");",
      "section_id": "example"
    }
  ]
}
