Example Spark streaming sample codes with Custom Listeners to push streaming metrics into Amazon CloudWatch metrics