I am upgrading beam sdks from 2.14 to 2.23. While doing this, I came across error Missing required values: region at org.apache.beam.runners.dataflow.DataflowRunner.fromOptions So, I added region as command line arg --region=us-central1 and also added getter setter method in my Pipeline Options class as
@Description("VM region")
@Default.String("us-central1")
public String getRegion();
public void setRegion(String value);
With this, now I am getting error as java.lang.IllegalArgumentException: Property [region] is marked with contradictory annotations
Any help will be appreciated.