[id='adding-protostream-processor_{context}']
= Adding the ProtoStream processor

{brandname} provides a ProtoStream processor artifact that processes Java annotations in your classes at compile time to generate Protobuf schemas, accompanying marshallers, and a concrete implementation of the `SerializationContextInitializer` interface.

.Procedure

* Add the `protostream-processor` to the annotation processors configuration of `maven-compiler-plugin` to your `pom.xml`.
+
[source,xml]
----
include::dependencies_maven/protostream-processor.xml[]
----
