Unable to increase the max_replication_slots in AlloyDB

I am trying to increase the max_replication_slots in AlloyDB to increase the transfer performance of data.
I am using the below command to increase the slots
ALTER SYSTEM SET max_replication_slots = NUM;

But getting this error: postgresql error: permission denied to set parameter “max_replication_slots”
Currently I am using the postgres user and it has the below permissions

rolname | rolsuper | rolinherit | rolcreate | rolerolcreatedb | rolcanlogin | rolreplication
postgre | false | true | true | true | true | true

I am not sure, what more permissions are required. And I am pretty new to this AlloyDB, can somebody help me with this.

Thanks

You are receiving this error in AlloyDB because max_replication_slots is a system-level parameter that cannot be modified by users. Unlike self-managed PostgreSQL or Cloud SQL, AlloyDB restricts access to certain configuration parameters to maintain system stability and performance.

Depending on your data transfer setup (e.g. using pglogical, wal2json, or Debezium), you might:

  • Batch or sequence replication clients to reduce simultaneous replication slot usage.

  • Monitor pg_replication_slots and recycle unused slots.