# ConsumeStartPosition

> **Class** in `langchain_community`

📖 [View in docs](https://reference.langchain.com/python/langchain-community/chat_message_histories/kafka/ConsumeStartPosition)

Consume start position for Kafka consumer to get chat history messages.
LAST_CONSUMED: Continue from the last consumed offset.
EARLIEST: Start consuming from the beginning.
LATEST: Start consuming from the latest offset.

## Signature

```python
ConsumeStartPosition()
```

## Extends

- `Enum`

## Properties

- `LAST_CONSUMED`
- `EARLIEST`
- `LATEST`

---

[View source on GitHub](https://github.com/langchain-ai/langchain-community/blob/a6a6079511ac8a5c1293337f88096b8641562e77/libs/community/langchain_community/chat_message_histories/kafka.py#L30)