Example 3 Suppose where is a family of straight line as illustrated in Figure below. Here and is a different constant for different realizations. Hence is not mean ergodic.