# `Kombu.Pools`
[🔗](https://github.com/hacktobeer/kombu/blob/v0.1.0/lib/kombu/pools.ex#L433)

Connection, Channel, and Producer pools (`kombu.pools`).

# `connections`

```elixir
@spec connections(Kombu.Connection.t()) :: Kombu.Pools.ConnectionPool.t()
```

Gets or creates a `ConnectionPool` for `conn` from the global `connections` group.

# `get_limit`

```elixir
@spec get_limit() :: non_neg_integer()
```

Returns the global pool limit (default `10`).

# `producers`

```elixir
@spec producers(Kombu.Connection.t()) :: Kombu.Pools.ProducerPool.t()
```

Gets or creates a `ProducerPool` for `conn` from the global `producers` group.

# `reset`

```elixir
@spec reset() :: :ok
```

Closes all open resources and clears all global pool groups (`kombu.pools.reset`).

# `set_limit`

```elixir
@spec set_limit(non_neg_integer() | nil, keyword()) :: non_neg_integer()
```

Updates the global pool limit and resizes all active pools (`kombu.pools.set_limit`).

---

*Consult [api-reference.md](api-reference.md) for complete listing*
