MartijnVisser opened a new pull request, #312:
URL: https://github.com/apache/flink-connector-kafka/pull/312
## What is the purpose of the change
Follow-up to FLINK-39477 for this repository, as suggested when that ticket
was closed. It gives AI coding agents the project-specific context that
apache/flink's `AGENTS.md` provides, and adds a pull request template so AI
usage is disclosed the same way as in apache/flink and the Kubernetes Operator
(FLINK-39881). This repository had no PR template at all; contributors have
been pasting apache/flink's by hand.
## Brief change log
- Add `AGENTS.md`: build and test commands, module and package layout with
the API annotations, the threading boundaries of the source, sink and
exactly-once paths, common change patterns (Table option, builder option,
checkpointed state, `kafka.version` and `flink.version` bumps, flaky tests),
coding and testing standards, commit and PR conventions, boundaries.
- Add `.github/PULL_REQUEST_TEMPLATE.md`, based on apache/flink's, with
the "does this pull request potentially affect" section narrowed to this
connector and the generative AI tooling disclosure section.
## Verifying this change
This change is a trivial rework / code cleanup without any test coverage.
Every command quoted in `AGENTS.md` was run against this branch on JDK 17,
except the ones that need infrastructure not available locally: the end-to-end
tests (need a Flink distribution), the full license check (needs a `clean
deploy`), and the JDK 11 and 21 matrix cells. `./mvnw apache-rat:check` passes
with both new files.
## Does this pull request potentially affect one of the following parts:
- Dependencies (does it add or upgrade a dependency, including
`kafka.version` or `flink.version`): no
- The public API, i.e., is any changed class annotated with
`@Public(Evolving)` or `@Experimental`, or are the Table options or the PyFlink
wrappers changed: no
- Checkpointed state, its serializers, or exactly-once delivery (splits,
enumerator state, writer state, committables, transactions): no
- The per-record code paths (split reader, record emitter, writer,
serialization schemas; performance sensitive): no
## Documentation
- Does this pull request introduce a new feature? no
- If yes, how is the feature documented? not applicable
- If the docs changed, are both `docs/content` and `docs/content.zh`
updated? not applicable
---
##### Was generative AI tooling used to co-author this PR?
- [X] Yes (please specify the tool below)
Generated-by: Claude Code 2.1.267 (Claude Fable 5.1, Claude Opus 5)
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]