change consumer and producer processing procedure