NOVELTY - Overcoming problems associated with small-scale systems for producing hydrogen for fuel cells, and providing an apparatus for the generation of hydrogen that permits the reduction in scale of hydrogen generation facilities without a corresponding loss of efficiency.    USE - Used as an electric power generation system or as a hybrid reforming reactor which is suitable for use as a hybrid hydrogen generation system.    ADVANTAGE - A system is provided which offers a high degree of feed flexibility and which eliminates the use of a separate external fuel. The process avoids thermal cycling which can have a deleterious effect on the apparatus.    DETAILED DESCRIPTION - A process for generating hydrogen from a hydrocarbon feedstock for use in a fuel cell system for electric power generation comprises:    (a) passing the hydrocarbon feedstock to a preparation module to produce a conditioned feedstock;    (b) passing the conditioned feedstock to a pre-forming zone containing a pre-reforming catalyst, the pre-reforming zone being in intimate thermal contact with a first heat exchange zone having a steady-state temperature profile to heat the pre-reforming zone by convection to produce a pre-reforming effluent stream comprising H2, CO, CO2 and water;    (c) passing the pre-reforming effluent stream at effective partial oxidation conditions to a partial oxidation zone containing a partial oxidation catalyst and contacting the pre-reforming effluent with a first air stream at a first air rate to produce a partial oxidation effluent stream;    (d) passing the partial oxidation effluent stream at effective reforming conditions to a reforming zone containing a reforming catalyst to produce a reforming effluent stream and withdrawing the reforming effluent stream from the reforming zone at a reforming exit temperature;    (e) passing the reforming effluent stream and a first water stream to a water gas shift reaction zone containing at least one water gas shift catalyst zone, the water gas shift reaction zone being in intimate thermal contact with a second heat transfer zone having a steady-state temperature profile to cool the water gas shift reaction zone to effective water gas shift conditions to produce a H2 product stream comprising H2, CO, CO2 and water;    (f) passing the hydrogen product stream to a pressure swing adsorption zone or a temperature swing adsorption zone to produce a high purity hydrogen stream comprising 95 - 99.99 mol.% hydrogen and a separation waste gas stream comprising hydrogen and carbon oxides;    (g) passing the high purity hydrogen product stream to an anode side of a fuel cell zone having a cathode side on which an oxygen containing stream is contacted to produce the electric power and withdrawing an anode waste gas comprising hydrogen; and    (h) returning the anode waste gas and the separation waste gas stream to a burner zone, the anode waste gas being contacted with a sufficient amount of a second air stream to combust the anode waste gas and the separation waste gas stream to combust the waste gas stream to produce a flue gas stream at a flue gas temperature and passing the flue gas stream to a first heat exchange zone to heat the pre-reforming zone to effective pre-reforming conditions.    INDEPENDENT CLAIMS are also included for:    (1) a process for producing electric power from a hydrocarbon feedstock;    (2) a process for generating hydrogen from a hydrocarbon feedstock for use in a fuel cell system for electric power generation; and    (3) a process for producing a high purity hydrogen stream from a hydrocarbon feedstock.    DESCRIPTION OF DRAWING(S) - The figure is a schematic flow diagram of the process for the invention.    Lines (1, 3, 4, 4', 5, 6, 7, 8, 9, 10', 10, 11, 12, 16)    Pre-reforming zones (14)    First heat exchange zone (16)    Partial oxidation zone (24)    Reforming zone (28)    Burner zone (22)    Water gas shift reaction zone (18)    Second heat exchange zone (20)    Valve (V2)    Temperature measuring device (T1)