<SYSTEM_TASK:>
Solve the following problem using Python, implementing the functions described below, one line at a time
<END_TASK>
<USER_TASK:>
Description:
 def get_config(cfg, number, name, connection_name):
 """Initialize a new consumer thread, setting defaults and config values :param dict cfg: Consumer config section from YAML File :param int number: The identification number for the consumer :param str name: The name of the consumer :param str connection_name: The name of the connection):
 :rtype: dict """

        return {
            'connection': cfg['Connections'][connection_name],
            'consumer_name': name,
            'process_name': '%s_%i_tag_%i' % (name, os.getpid(), number)
        }