> For the complete documentation index, see [llms.txt](https://docs.lenses.io/latest/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.lenses.io/latest/k2k/1.0/tutorial.md).

# Tutorial

- [Setting up](https://docs.lenses.io/latest/k2k/1.0/tutorial/run-a-quick-example.md): Create a set of containerized environments to learn how to use and configure K2K.
- [Selecting topics](https://docs.lenses.io/latest/k2k/1.0/tutorial/selecting-topics.md): Choose which topics should/should not be replicated.
- [Routing Records](https://docs.lenses.io/latest/k2k/1.0/tutorial/routing-records.md): Control where records are sent when replicating.
- [Partition assignment](https://docs.lenses.io/latest/k2k/1.0/tutorial/partition-assignment.md): Route Kafka records to specific partition.
- [Configuring control topics](https://docs.lenses.io/latest/k2k/1.0/tutorial/configuring-control-topics.md): Configure names and configuration of control topics.
- [Replicated topics configs](https://docs.lenses.io/latest/k2k/1.0/tutorial/replicated-topics-configs.md): Control target cluster topic creation and their configuration.
- [Exactly Once Delivery](https://docs.lenses.io/latest/k2k/1.0/tutorial/exactly-once-delivery.md): Enable exactly once delivery guarantees.
- [Schema Registry Replication](https://docs.lenses.io/latest/k2k/1.0/tutorial/schema-registry-replication.md): Configure schema replication to target cluster.
- [Scaling K2K](https://docs.lenses.io/latest/k2k/1.0/tutorial/scaling-k2k.md): Increase the number of instance handling one replication
- [Variables & Secrets](https://docs.lenses.io/latest/k2k/1.0/tutorial/variables-and-secrets.md): Control parameters and secrets using the pipeline definition.


---

# Agent Instructions
This documentation is published with GitBook. GitBook is the documentation platform designed so that both humans and AI agents can read, navigate, and reason over technical content effectively. Learn more at gitbook.com.

## Querying This Documentation
If you need additional information that is not directly available in this page, you can query the documentation by asking a question.

Perform an HTTP GET request on the following URL with the `ask` and `goal` query parameters:

```
GET https://docs.lenses.io/latest/k2k/1.0/tutorial.md?ask=<question>&goal=<user_goal>
```

`ask` is the immediate question: it should be specific, self-contained, and written in natural language.
`goal` is what the user is ultimately trying to achieve, the reason they need the answer. Sharing it helps GitBook give you a better, more relevant answer. A goal is most helpful when it describes the outcome the user wants rather than restating the question. For example, with `ask=how do I create an API token`, a goal like `automate deployments from our CI pipeline` lets GitBook tailor the answer to that use case.

The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
