Annotation Interface PubSubAgnosticTest


@Documented @Retention(RUNTIME) @Target({TYPE,METHOD}) public @interface PubSubAgnosticTest
Marks a test class or method as PubSub agnostic.

Tests with this annotation do not rely on Kafka-specific or Xinfra/NG-specific behavior. They must pass against any PubSub system that implements the Venice PubSub APIs.

Developer note: If you annotate a test with this, you are asserting that it will run correctly on any supported PubSub backend. You must ensure it stays this way, otherwise you risk breaking CI pipelines that execute tests against multiple PubSub systems.

Typical usage:
 
 @PubSubAgnosticTest
 public class MyStoreTests { ... }

 public class AnotherTest {
   @Test
   @PubSubAgnosticTest
   public void validatesKeySerialization() { ... }
 }
 
 
  • Optional Element Summary

    Optional Elements
    Modifier and Type
    Optional Element
    Description
    Optional free-form notes for maintainers or the test runner.
  • Element Details

    • notes

      String[] notes
      Optional free-form notes for maintainers or the test runner. Example: "Does not use client-specific seek APIs."
      Default:
      {}